mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Regenerate SSOwat configuration file at domain addition
This commit is contained in:
parent
060c4c76bb
commit
0665b84259
1 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,7 @@ import re
|
|||
import shutil
|
||||
from urllib import urlopen
|
||||
from yunohost import YunoHostError, YunoHostLDAP, win_msg, colorize, validate, get_required_args
|
||||
from yunohost_tools import tools_ssowatconf
|
||||
|
||||
|
||||
def domain_list(filter=None, limit=None, offset=None):
|
||||
|
@ -196,6 +197,9 @@ def domain_add(domains, main=False):
|
|||
else:
|
||||
raise YunoHostError(169, _("An error occured during domain creation"))
|
||||
|
||||
|
||||
tools_ssowatconf()
|
||||
|
||||
win_msg(_("Domain(s) successfully created"))
|
||||
|
||||
return { 'Domains' : result }
|
||||
|
|
Loading…
Reference in a new issue