mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-12-27 14:58:59 +00:00
better error message
This commit is contained in:
parent
168c5a0bb2
commit
07e559f7d9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue