bugfix
This commit is contained in:
parent
4459000d4f
commit
6d038dc962
@ -18,7 +18,7 @@ def web_register():
|
|||||||
db.session.add(user)
|
db.session.add(user)
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
flash('Congratulations, you are now a registered user!')
|
flash('Congratulations, you are now a registered user!')
|
||||||
return redirect(url_for('auth.login'))
|
return redirect(url_for('auth.web_login'))
|
||||||
return render_template('auth/register.html', title='Register', form=form)
|
return render_template('auth/register.html', title='Register', form=form)
|
||||||
|
|
||||||
@bp.route(f'/login', methods=['GET', 'POST'])
|
@bp.route(f'/login', methods=['GET', 'POST'])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user