Compare commits
2 Commits
feature/gm
...
master
Author | SHA1 | Date |
---|---|---|
|
20880e15cb | |
|
6f1200fbd2 |
|
@ -66,7 +66,7 @@ defmodule Entendu.UserFromAuth do
|
||||||
end
|
end
|
||||||
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)
|
do: email_matches?(recipient, emails) || username_matches?(recipient, username)
|
||||||
|
|
||||||
defp email_matches?(recipient, emails),
|
defp email_matches?(recipient, emails),
|
||||||
|
|
Loading…
Reference in New Issue