git://git.onelab.eu
/
unfold.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16d769d
)
iotlab create user works only for onelab theme
author
Yasin
<mohammed-yasin.rahman@lip6.fr>
Thu, 25 Sep 2014 15:31:25 +0000
(17:31 +0200)
committer
Yasin
<mohammed-yasin.rahman@lip6.fr>
Thu, 25 Sep 2014 15:31:25 +0000
(17:31 +0200)
portal/actions.py
patch
|
blob
|
history
diff --git
a/portal/actions.py
b/portal/actions.py
index
ed0127f
..
b06ccdf
100644
(file)
--- a/
portal/actions.py
+++ b/
portal/actions.py
@@
-832,8
+832,9
@@
def create_user(wsgi_request, request, namespace = None, as_admin = False):
# Add reference accounts for platforms
manifold_add_reference_user_accounts(wsgi_request, request)
- # Add the user to iotlab portal
- iotlab_create_user (wsgi_request, request)
+ # Add the user to iotlab portal if theme is set to onelab
+ if theme.theme == 'onelab':
+ iotlab_create_user (wsgi_request, request)
def create_pending_user(wsgi_request, request, user_detail):
"""