diff --git a/changedetectionio/flask_app.py b/changedetectionio/flask_app.py index 0722688b..945f268e 100644 --- a/changedetectionio/flask_app.py +++ b/changedetectionio/flask_app.py @@ -851,11 +851,13 @@ def changedetection_app(config=None, datastore_o=None): flash("An error occurred, please see below.", "error") output = render_template("settings.html", - form=form, - hide_remove_pass=os.getenv("SALTED_PASS", False), api_key=datastore.data['settings']['application'].get('api_access_token'), emailprefix=os.getenv('NOTIFICATION_MAIL_BUTTON_PREFIX', False), - settings_application=datastore.data['settings']['application']) + form=form, + hide_remove_pass=os.getenv("SALTED_PASS", False), + min_system_recheck_seconds=int(os.getenv('MINIMUM_SECONDS_RECHECK_TIME', 20)), + settings_application=datastore.data['settings']['application'] + ) return output diff --git a/changedetectionio/templates/settings.html b/changedetectionio/templates/settings.html index 4a1c8f0a..72f1f638 100644 --- a/changedetectionio/templates/settings.html +++ b/changedetectionio/templates/settings.html @@ -31,7 +31,7 @@