Added an demo mode option, where the user password change dialog is disabled.

This commit is contained in:
Jan Böhmer 2019-10-20 00:01:06 +02:00
parent c955a3a221
commit 89acf91fe6
4 changed files with 26 additions and 6 deletions

3
.env
View file

@ -47,4 +47,7 @@ NO_URL_REWRITE_AVAILABLE=false
# When this is empty the content of config/banner.md is used as banner
BANNER=""
# In demo mode things it is not possible for a user to change his password and his settings.
DEMO_MODE=0
### End custom vars