From 07e559f7d9d6721c5066c85b605eca82ce0781fa Mon Sep 17 00:00:00 2001 From: Lynne Date: Mon, 23 Sep 2019 11:15:40 +1000 Subject: [PATCH] better error message --- app/pages/bot/accounts_add.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/pages/bot/accounts_add.py b/app/pages/bot/accounts_add.py index 708d427..b50ef6f 100644 --- a/app/pages/bot/accounts_add.py +++ b/app/pages/bot/accounts_add.py @@ -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