From: Yasin Date: Fri, 31 Jan 2014 10:04:16 +0000 (+0100) Subject: Validate: makes the user_status = 2 X-Git-Tag: myslice-0.3-0~8^2~2 X-Git-Url: http://git.onelab.eu/?p=unfold.git;a=commitdiff_plain;h=23a066e493df6d553e358c1a3fcee04e6c371458 Validate: makes the user_status = 2 --- 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%}