mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
portalapi: fix portal_user_intro not being sent when authenticated, hence not displayed at all
This commit is contained in:
parent
bc93a2e079
commit
cdf443c86e
1 changed files with 5 additions and 2 deletions
|
@ -118,6 +118,9 @@ def portal_public():
|
|||
|
||||
portal_settings = _get_portal_settings()
|
||||
|
||||
try:
|
||||
Auth().get_session_cookie()
|
||||
except Exception:
|
||||
if "portal_user_intro" in portal_settings:
|
||||
del portal_settings["portal_user_intro"]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue