mirror of
https://github.com/neocities/neocities.git
synced 2025-07-25 11:58:28 +02:00
Set email validation grandfathering for May 16th. All new sites will need to validate email.
This commit is contained in:
parent
a2a6a40438
commit
f97ebd9781
4 changed files with 6 additions and 4 deletions
|
@ -125,5 +125,7 @@ def dont_browser_cache
|
|||
end
|
||||
|
||||
def email_not_validated?
|
||||
current_site && current_site.parent? && !current_site.is_education && !current_site.email_confirmed && !current_site.supporter? && Site::EMAIL_VALIDATION_CUTOFF_DATE < Time.now
|
||||
return false if current_site && current_site.created_at < Site::EMAIL_VALIDATION_CUTOFF_DATE
|
||||
|
||||
current_site && current_site.parent? && !current_site.is_education && !current_site.email_confirmed && !current_site.supporter?
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue