mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #271 from YunoHost/fix-672-maindomain-refresh-ssowatconf
[fix] Regenerate SSOwat conf during main_domain operation. #672
This commit is contained in:
commit
07e8e8d5f6
1 changed files with 3 additions and 3 deletions
|
@ -185,6 +185,9 @@ def tools_maindomain(auth, new_domain=None):
|
|||
else:
|
||||
logger.info(out)
|
||||
|
||||
# Generate SSOwat configuration file
|
||||
app_ssowatconf(auth)
|
||||
|
||||
# Regen configurations
|
||||
try:
|
||||
with open('/etc/yunohost/installed', 'r') as f:
|
||||
|
@ -308,9 +311,6 @@ def tools_postinstall(domain, password, ignore_dyndns=False):
|
|||
domain_add(auth, domain, dyndns)
|
||||
tools_maindomain(auth, domain)
|
||||
|
||||
# Generate SSOwat configuration file
|
||||
app_ssowatconf(auth)
|
||||
|
||||
# Change LDAP admin password
|
||||
tools_adminpw(auth, password)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue