Skip to content

Commit 4d92e34

Browse files
authored
Fix #2
#2
1 parent 22aca8e commit 4d92e34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def sign_up():
5959
password1, method='sha256'))
6060
db.session.add(new_user)
6161
db.session.commit()
62-
login_user(user, remember=True)
62+
login_user(new_user, remember=True)
6363
flash('Account created!', category='success')
6464
return redirect(url_for('views.home'))
6565

0 commit comments

Comments
 (0)