mirror of
https://github.com/YunoHost-Apps/pluxml_ynh.git
synced 2024-09-03 20:16:02 +02:00
[fix] adding ssowat protection for admin panel
This commit is contained in:
parent
26d3a7574c
commit
1828ca9abc
1 changed files with 3 additions and 0 deletions
|
@ -90,6 +90,9 @@ fi
|
||||||
#adding admin to the allowed users
|
#adding admin to the allowed users
|
||||||
sudo yunohost app addaccess $app -u $admin
|
sudo yunohost app addaccess $app -u $admin
|
||||||
|
|
||||||
|
#allow only allowed users to access admin panel
|
||||||
|
sudo yunohost app setting pluxml protected_uris -v "/core/admin/"
|
||||||
|
|
||||||
# Restart services
|
# Restart services
|
||||||
sudo service nginx reload
|
sudo service nginx reload
|
||||||
sudo yunohost app ssowatconf
|
sudo yunohost app ssowatconf
|
||||||
|
|
Loading…
Reference in a new issue