WartburgComputerClub / date2knight

A dating service fundrasiser created by the Wartburg Computer Club
http://date2knight.com
2 stars 3 forks source link

Users can sign up with non-organization emails. #36

Closed owen2 closed 12 years ago

owen2 commented 12 years ago

There is a flag in the config ALLOW_ANY_EMAIL that should lock down the signup to people only with addresses at Settings::$ValidEmailDomain

People without those addresses can still sign up even when allow_any_email is false.

andrewreisner commented 12 years ago

Should be fixed, created Settings::restrictDomain to flag domain restriction. I took the public method out because the dashboard.php is the only script where the old isEmailAllowed method would be used.