chore(auth): fix azure exception handler
This commit is contained in:
parent
5c4042e5f3
commit
96038a4f22
@ -109,7 +109,7 @@ authenticate creds@Creds{..} = liftHandler . runDB . withReaderT projectBackend
|
||||
err -> do
|
||||
$logErrorS "OAuth" $ tshow err
|
||||
mr <- getMessageRender
|
||||
excRecovery . ServerError $ mr MsgInternalLdapError -- TODO where does this come from?
|
||||
excRecovery . ServerError $ mr MsgInternalLoginError
|
||||
, C.Handler $ \(cExc :: UserConversionException) -> do
|
||||
$logErrorS "Auth" $ tshow cExc
|
||||
mr <- getMessageRender
|
||||
|
||||
Reference in New Issue
Block a user