Skip to content

Commit

Permalink
[ fix ] add a missing case (#61)
Browse files Browse the repository at this point in the history
Co-authored-by: Fei Niu <[email protected]>
  • Loading branch information
fniu and Fei Niu authored Aug 14, 2023
1 parent cf727a0 commit 1c89da7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Solutions/DataTypes.idr
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ login Nil (Key u _) = Left (UnknownUser u)
login (x :: xs) cs = case login1 x cs of
Right c => Right c
Left InvalidPassword => Left InvalidPassword
Left InvalidKey => Left InvalidKey
Left _ => login xs cs

--5
Expand Down

0 comments on commit 1c89da7

Please sign in to comment.