Skip to content

Commit 3a35f0e

Browse files
authored
Merge pull request #3 from Drc-DEV/patch-1
Fix #2
2 parents 22aca8e + 4d92e34 commit 3a35f0e

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)