Bcrypt.checkpw(password, user.hashed_password). def login_user_with_pw(username, password) do with %User{} = user <- get_user_by_username(username), ...
確定! 回上一頁