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():