fixed bug that made it impossible for waitlisted users to register
This commit is contained in:
@@ -62,7 +62,11 @@ def index():
|
|||||||
if existing_user.confirmed:
|
if existing_user.confirmed:
|
||||||
flash("You are already registered and confirmed!", "info")
|
flash("You are already registered and confirmed!", "info")
|
||||||
elif existing_user.on_waitlist:
|
elif existing_user.on_waitlist:
|
||||||
flash("You are already on the waitlist", "info")
|
if confirmed_count < max_spots:
|
||||||
|
send_verification_email(existing_user)
|
||||||
|
flash("Registration started! Check your email to confirm your spot.", "success")
|
||||||
|
else:
|
||||||
|
flash("You are already on the waitlist", "info")
|
||||||
else:
|
else:
|
||||||
if existing_user.num_emails_sent < 5:
|
if existing_user.num_emails_sent < 5:
|
||||||
flash("Confirmation email resent. Please check your inbox.", "info")
|
flash("Confirmation email resent. Please check your inbox.", "info")
|
||||||
|
|||||||
Reference in New Issue
Block a user