Fix “invited by” not showing up for invited accounts in admin interface (#10791)
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
class BlacklistedEmailValidator < ActiveModel::Validator
|
||||
def validate(user)
|
||||
return if user.invited?
|
||||
return if user.valid_invitation?
|
||||
|
||||
@email = user.email
|
||||
|
||||
|
Reference in New Issue
Block a user