fixed bug that made it impossible for waitlisted users to register
This commit is contained in:
@@ -62,6 +62,10 @@ def index():
|
||||
if existing_user.confirmed:
|
||||
flash("You are already registered and confirmed!", "info")
|
||||
elif existing_user.on_waitlist:
|
||||
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:
|
||||
if existing_user.num_emails_sent < 5:
|
||||
|
||||
Reference in New Issue
Block a user