Skip to content

Commit

Permalink
Merge branch 'master' of github.com:snapframework/snap
Browse files Browse the repository at this point in the history
  • Loading branch information
mightybyte committed Jan 1, 2014
2 parents 1116c43 + 8f41eb5 commit f9a9ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Snap/Snaplet/Auth/Handlers.hs
Expand Up @@ -447,7 +447,7 @@ loginUser' unf pwdf remf = do
(runMaybeT $
do field <- MaybeT $ return remf
value <- MaybeT $ getParam field
return $ value == "1")
return $ value == "1" || value == "on")

password <- noteT PasswordMissing $ hoistMaybe mbPassword
username <- noteT UsernameMissing $ hoistMaybe mbUsername
Expand Down

0 comments on commit f9a9ac0

Please sign in to comment.