Commit cbac5034 authored by Martin Mareš's avatar Martin Mareš
Browse files

Bug fix in enrollment form

By mistake, we used TokenLoginForm instead of EnrollTokenForm(),
which worked until we renamed login tokens to access codes :)
parent 522f6f1a
......@@ -203,7 +203,7 @@ def enroll():
if not have_session_p():
return login_redirect(current=True)
form = TokenLoginForm()
form = EnrollTokenForm()
if not form.validate_on_submit():
return render_template('join.html', form=form, error=None)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment