mirror of
https://github.com/aaronleetw/Attendance.git
synced 2024-11-14 19:11:39 -08:00
Indention error
This commit is contained in:
parent
9aefbb7d20
commit
7e1ac04321
1 changed files with 3 additions and 3 deletions
6
app.py
6
app.py
|
@ -72,10 +72,10 @@ def index():
|
||||||
'reCAPTCHA 錯誤,請稍後再試一次<br>reCAPTCHA Failed. Please try again later.')
|
'reCAPTCHA 錯誤,請稍後再試一次<br>reCAPTCHA Failed. Please try again later.')
|
||||||
return redirect('/')
|
return redirect('/')
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("Error:", email, str(e), flush=True)
|
print("Error:", email, str(e), flush=True)
|
||||||
flash(
|
flash(
|
||||||
'帳號或密碼錯誤,請重新輸入<br>Incorrect username or password')
|
'帳號或密碼錯誤,請重新輸入<br>Incorrect username or password')
|
||||||
return redirect('/')
|
return redirect('/')
|
||||||
else:
|
else:
|
||||||
return redirect('/manage')
|
return redirect('/manage')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue