changed error message

blueprint_refactoring
Simon Pirkelmann 2022-01-31 08:03:47 +01:00
parent c941d383c1
commit 8d02e669f8
1 changed files with 1 additions and 1 deletions

View File

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