Success message after database change

This commit is contained in:
Ozzie Isaacs 2021-06-12 08:48:55 +02:00
parent 1aca1b9fdd
commit 1833e8fdb4
1 changed files with 2 additions and 0 deletions

View File

@ -1307,6 +1307,8 @@ def _db_configuration_result(error_flash=None, gdrive_error=None):
log.error(error_flash)
config.load()
flash(error_flash, category="error")
elif request.method == "POST" and not gdrive_error:
flash(_("Database Settings updated"), category="success")
return render_title_template("config_db.html",
config=config,