Indention error

This commit is contained in:
Aaron Lee 2021-10-01 23:10:07 +08:00
parent 9aefbb7d20
commit 7e1ac04321

6
app.py
View file

@ -72,10 +72,10 @@ def index():
'reCAPTCHA 錯誤,請稍後再試一次<br>reCAPTCHA Failed. Please try again later.')
return redirect('/')
except Exception as e:
print("Error:", email, str(e), flush=True)
flash(
print("Error:", email, str(e), flush=True)
flash(
'帳號或密碼錯誤,請重新輸入<br>Incorrect username or password')
return redirect('/')
return redirect('/')
else:
return redirect('/manage')