1
0
Fork 0
mirror of https://github.com/Lynnesbian/FediBooks/ synced 2024-12-27 14:58:59 +00:00

better error message

This commit is contained in:
Lynne Megido 2019-09-23 11:15:40 +10:00
parent 168c5a0bb2
commit 07e559f7d9

View file

@ -76,7 +76,7 @@ def bot_accounts_add(mysql, cfg):
)
username = client.account_verify_credentials()['username']
if username != session['username']:
error = "Incorrect username."
error = "Please authenticate as {}.".format(session['username'])
return render_template("bot/accounts_add.html", error = error)
except:
session['step'] = 1