Skip to content

Instantly share code, notes, and snippets.

@delitescere
Created March 22, 2012 04:13
Show Gist options
  • Save delitescere/2155822 to your computer and use it in GitHub Desktop.
Save delitescere/2155822 to your computer and use it in GitHub Desktop.
How to get the HTTP Request to the authenticate method?
tuple(...
).verifying("Invalid username or password", _ match {
case (Some(u), Some(p), _) => authenticate(u, p)
...
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment