Remove debug print
This commit is contained in:
parent
6bd045ba6b
commit
86a525dd2d
@ -372,7 +372,6 @@ def login():
|
|||||||
current_user.last_seen = datetime.datetime.utcnow()
|
current_user.last_seen = datetime.datetime.utcnow()
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
next_page = request.args.get('next')
|
next_page = request.args.get('next')
|
||||||
print(current_user.last_seen)
|
|
||||||
if not next_page or url_parse(next_page).netloc != '':
|
if not next_page or url_parse(next_page).netloc != '':
|
||||||
next_page = url_for('index')
|
next_page = url_for('index')
|
||||||
return redirect(next_page)
|
return redirect(next_page)
|
||||||
|
Reference in New Issue
Block a user