From 8d02e669f806c0f8d719809693255b635d23233f Mon Sep 17 00:00:00 2001 From: Simon Pirkelmann Date: Mon, 31 Jan 2022 08:03:47 +0100 Subject: [PATCH] changed error message --- imaginaerraum_door_admin/webapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imaginaerraum_door_admin/webapp.py b/imaginaerraum_door_admin/webapp.py index ba9facd..8b60a20 100644 --- a/imaginaerraum_door_admin/webapp.py +++ b/imaginaerraum_door_admin/webapp.py @@ -380,7 +380,7 @@ def edit_token(token): return render_template('edit.html', token=token, form=form) else: # flash an error message if the route is accessed with an invalid token - flash(f'Ausgewaehlter Token {token} in Tokenfile nicht gefunden.') + flash(f'Ungültiger Token {token}!') return redirect('/tokens') elif request.method == 'POST': if form.validate():