portal: fix extra app tiles not being displayed, gotta use the perm id as key, not just the app id (credit rodinux)

This commit is contained in:
Alexandre Aubin 2024-08-17 15:10:55 +02:00
parent 2ef5b24e40
commit 603c64e348

View file

@ -1736,7 +1736,7 @@ def app_ssowatconf():
if app_catalog_info and "logo_hash" in app_catalog_info:
app_portal_info["logo"] = f"/yunohost/sso/applogos/{app_catalog_info['logo_hash']}.png"
portal_domains_apps[app_portal_domain][app_id] = app_portal_info
portal_domains_apps[app_portal_domain][perm_name] = app_portal_info
conf_dict = {
"cookie_secret_file": "/etc/yunohost/.ssowat_cookie_secret",