mirror of
https://github.com/ysoftdevs/odc-analyzer.git
synced 2026-03-26 19:11:48 +01:00
If authentication has failed, proper error message is used.
This commit is contained in:
@@ -55,7 +55,7 @@ class AuthController @Inject() (
|
|||||||
)
|
)
|
||||||
} yield res
|
} yield res
|
||||||
case Left(errorMessage) =>
|
case Left(errorMessage) =>
|
||||||
Future.successful(Redirect(routes.AuthController.signIn(callback)).flashing("error" -> Messages("invalid.credentials")))
|
Future.successful(Redirect(routes.AuthController.signIn(callback)).flashing("error" -> errorMessage))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user