Fix “invited by” not showing up for invited accounts in admin interface (#10791)
This commit is contained in:
parent
37a04c329c
commit
ae18386558
3 changed files with 7 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
class BlacklistedEmailValidator < ActiveModel::Validator
|
||||
def validate(user)
|
||||
return if user.invited?
|
||||
return if user.valid_invitation?
|
||||
|
||||
@email = user.email
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue