diff options
author | Simponic <loganhunt@simponic.xyz> | 2022-12-27 23:50:22 -0700 |
---|---|---|
committer | Simponic <loganhunt@simponic.xyz> | 2022-12-27 23:50:22 -0700 |
commit | 10bc34245e8e1e3ba63fb0720d3bcfb1119db921 (patch) | |
tree | 0158f37dcda36f36327e45c4ce7543e77c26c8a0 /lib/chessh/auth | |
parent | f7c2ccbe26dc808e4a7eae9a378e6c382220961a (diff) | |
download | chessh-10bc34245e8e1e3ba63fb0720d3bcfb1119db921.tar.gz chessh-10bc34245e8e1e3ba63fb0720d3bcfb1119db921.zip |
Initial erlang stuff
Diffstat (limited to 'lib/chessh/auth')
-rw-r--r-- | lib/chessh/auth/password.ex | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chessh/auth/password.ex b/lib/chessh/auth/password.ex index 8a6c683..c3b03f5 100644 --- a/lib/chessh/auth/password.ex +++ b/lib/chessh/auth/password.ex @@ -1,6 +1,5 @@ defmodule Chessh.Auth.PasswordAuthenticator do - alias Chessh.Player - alias Chessh.Repo + alias Chessh.{Player, Repo} def authenticate(username, password) do case Repo.get_by(Player, username: String.Chars.to_string(username)) do |