forked from ScoDoc/DocScoDoc
new users default dept in form
This commit is contained in:
parent
4b63fe81e4
commit
ff948cb98d
@ -388,6 +388,9 @@ def create_user_form(user_name=None, edit=0, all_roles=1):
|
||||
"explanation": """département de rattachement de l'utilisateur""",
|
||||
"labels": selectable_dept_acronyms,
|
||||
"allowed_values": selectable_dept_acronyms,
|
||||
"default": g.scodoc_dept
|
||||
if g.scodoc_dept in selectable_dept_acronyms
|
||||
else "",
|
||||
},
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user