Last active
February 24, 2018 12:23
-
-
Save njwest/d463124dae3568d2c50ca76c58e66a0f to your computer and use it in GitHub Desktop.
lib/myApi/accounts/accounts.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule MyApi.Accounts do | |
# code omitted for brevity | |
alias MyApi.Guardian | |
import Comeonin.Bcrypt, only: [checkpw: 2, dummy_checkpw: 0] | |
# snip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment