From 23a066e493df6d553e358c1a3fcee04e6c371458 Mon Sep 17 00:00:00 2001 From: Yasin Date: Fri, 31 Jan 2014 11:04:16 +0100 Subject: [PATCH] Validate: makes the user_status = 2 --- portal/actions.py | 3 +++ portal/templates/account-view.html | 2 ++ 2 files changed, 5 insertions(+) diff --git a/portal/actions.py b/portal/actions.py index d161be5c..a6349c76 100644 --- a/portal/actions.py +++ b/portal/actions.py @@ -235,6 +235,9 @@ def portal_validate_request(wsgi_request, request_ids): except Exception, e: request_status['SFA user'] = {'status': False, 'description': str(e)} + + user_params = {'status':2} + manifold_update_user(request, request['email'],user_params) # MANIFOLD user should be added beforehand, during registration #try: diff --git a/portal/templates/account-view.html b/portal/templates/account-view.html index 3c3d5438..8f853e1b 100644 --- a/portal/templates/account-view.html +++ b/portal/templates/account-view.html @@ -156,6 +156,7 @@ Account Type Account Delegation User hrn + User Status {% for row in principal_acc %} @@ -164,6 +165,7 @@ {{ row.account_type }} {{ row.delegation_type }} {{ row.usr_hrn }} + {{ row.user_status }} {%endfor%} -- 2.43.0