mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Reload SSOwat configuration at user creation
This commit is contained in:
parent
f2a1b35bfb
commit
4583d1afc8
1 changed files with 1 additions and 0 deletions
|
@ -144,6 +144,7 @@ def user_create(username, firstname, lastname, mail, password):
|
||||||
|
|
||||||
if yldap.add(rdn, attr_dict):
|
if yldap.add(rdn, attr_dict):
|
||||||
os.system("su - " + username + " -c ''")
|
os.system("su - " + username + " -c ''")
|
||||||
|
os.system('yunohost app ssowatconf > /dev/null 2>&1')
|
||||||
#TODO: Send a welcome mail to user
|
#TODO: Send a welcome mail to user
|
||||||
win_msg(_("User successfully created"))
|
win_msg(_("User successfully created"))
|
||||||
hook_callback('post_user_create', [username, mail, password, firstname, lastname])
|
hook_callback('post_user_create', [username, mail, password, firstname, lastname])
|
||||||
|
|
Loading…
Reference in a new issue