You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is your code:
authorize(request.user, authority) collect {
case true => None
} recoverWith {
case _ => authorizationFailed(request, request.user, Some(authority)).map(Some.apply)
}
How should I do?
The text was updated successfully, but these errors were encountered:
This is your code:
authorize(request.user, authority) collect {
case true => None
} recoverWith {
case _ => authorizationFailed(request, request.user, Some(authority)).map(Some.apply)
}
How should I do?
The text was updated successfully, but these errors were encountered: