diff --git a/app/routes.py b/app/routes.py index a103d2d..6fca809 100644 --- a/app/routes.py +++ b/app/routes.py @@ -62,7 +62,11 @@ def index(): if existing_user.confirmed: flash("You are already registered and confirmed!", "info") 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: if existing_user.num_emails_sent < 5: flash("Confirmation email resent. Please check your inbox.", "info")