mirror of
https://github.com/YunoHost-Apps/prettynoemiecms_ynh.git
synced 2024-09-03 20:06:36 +02:00
protect the admin panel
This commit is contained in:
parent
4e55157078
commit
4eabe5a507
1 changed files with 2 additions and 0 deletions
|
@ -149,6 +149,8 @@ if [ $is_public -eq 1 ]
|
|||
then
|
||||
# unprotected_uris allows SSO credentials to be passed anyway
|
||||
ynh_app_setting_set --app=$app --key=unprotected_uris --value="/"
|
||||
# protect the admin panel
|
||||
ynh_app_setting_set --app=$app --key=protected_uris --value="/admin"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue