Skip to content

Instantly share code, notes, and snippets.

@njwest
Last active July 20, 2024 20:17
Show Gist options
  • Save njwest/c58c2bbd30e538152ebfc907375882f8 to your computer and use it in GitHub Desktop.
Save njwest/c58c2bbd30e538152ebfc907375882f8 to your computer and use it in GitHub Desktop.
def allow_login_attempt?(email, limit \\ @login_request_limit)
when is_binary(email) and is_integer(limit) and limit >= 0 do
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment