mirror of
https://github.com/bitwarden/server
synced 2026-01-02 08:33:48 +00:00
fix(auth-validator): [PM-22975] Client Version Validator - Minor touchups to baserequest validator.
This commit is contained in:
@@ -122,6 +122,10 @@ public abstract class BaseRequestValidator<T> where T : class
|
||||
return;
|
||||
}
|
||||
|
||||
// 1.5 We need to check now the version number
|
||||
await ValidateClientVersionAsync(context, validatorContext);
|
||||
|
||||
|
||||
// 2. Decide if this user belongs to an organization that requires SSO.
|
||||
validatorContext.SsoRequired = await RequireSsoLoginAsync(user, request.GrantType);
|
||||
if (validatorContext.SsoRequired)
|
||||
|
||||
Reference in New Issue
Block a user