Compare commits
1 Commits
6f1200fbd2
...
master
Author | SHA1 | Date | |
---|---|---|---|
20880e15cb
|
@@ -66,7 +66,7 @@ defmodule Entendu.UserFromAuth do
|
||||
end
|
||||
end
|
||||
|
||||
def can_access?(recipient, %{emails: emails, username: username} = stuff),
|
||||
def can_access?(recipient, %{emails: emails, username: username}),
|
||||
do: email_matches?(recipient, emails) || username_matches?(recipient, username)
|
||||
|
||||
defp email_matches?(recipient, emails),
|
||||
|
Reference in New Issue
Block a user