allows managers to create users without email
allows managers to create users without email hides email preferences from account page for email-less users prevents email delivery to users with no email adds spec for user creation from management adds specs for user's email requirement adds spec for no deliveries if no email
This commit is contained in:
@@ -247,7 +247,7 @@ class User < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def email_required?
|
||||
!erased?
|
||||
!erased? && unverified?
|
||||
end
|
||||
|
||||
def locale
|
||||
|
||||
Reference in New Issue
Block a user