|
|
@ -483,6 +483,9 @@ def changedetection_app(config=None, datastore_o=None):
|
|
|
|
flash("Password protection enabled.", 'notice')
|
|
|
|
flash("Password protection enabled.", 'notice')
|
|
|
|
flask_login.logout_user()
|
|
|
|
flask_login.logout_user()
|
|
|
|
return redirect(url_for('index'))
|
|
|
|
return redirect(url_for('index'))
|
|
|
|
|
|
|
|
else:
|
|
|
|
|
|
|
|
# Unset it anyway, just to be sure.
|
|
|
|
|
|
|
|
datastore.data['settings']['application']['password'] = False
|
|
|
|
|
|
|
|
|
|
|
|
flash("Settings updated.")
|
|
|
|
flash("Settings updated.")
|
|
|
|
|
|
|
|
|
|
|
|