Fix app_ssowatconf

This commit is contained in:
Josué Tille 2020-04-03 22:12:50 +02:00
parent 756237c051
commit 1ff4f578d7
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -1208,6 +1208,10 @@ def app_ssowatconf():
redirected_regex = {main_domain + '/yunohost[\/]?$': 'https://' + main_domain + '/yunohost/sso/'}
redirected_urls = {}
def _get_setting(settings, name):
s = settings.get(name, None)
return s.split(',') if s else []
for app in _installed_apps():
app_settings = read_yaml(APPS_SETTING_PATH + app + '/settings.yml')