mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
SSOwat domain fix at postinstall
This commit is contained in:
parent
5ac9d7d3a3
commit
0f036fc381
1 changed files with 4 additions and 1 deletions
|
@ -32,7 +32,7 @@ import subprocess
|
|||
import requests
|
||||
import json
|
||||
from yunohost import YunoHostError, YunoHostLDAP, validate, colorize, get_required_args, win_msg
|
||||
from yunohost_domain import domain_add, domain_list
|
||||
from yunohost_domain import domain_add, domain_list, domain_ssowatconf
|
||||
from yunohost_dyndns import dyndns_subscribe
|
||||
from yunohost_backup import backup_init
|
||||
|
||||
|
@ -271,6 +271,9 @@ def tools_postinstall(domain, password, dyndns=False):
|
|||
# New domain config
|
||||
tools_maindomain(old_domain='yunohost.org', new_domain=domain, dyndns=dyndns)
|
||||
|
||||
# Generate SSOwat configuration file
|
||||
domain_ssowatconf()
|
||||
|
||||
# Change LDAP admin password
|
||||
tools_adminpw(old_password='yunohost', new_password=password)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue