feat: Add TOTP authentication adapter (#8457)
This commit is contained in:
@@ -189,7 +189,12 @@ export class UsersRouter extends ClassesRouter {
|
||||
const user = await this._authenticateUserFromRequest(req);
|
||||
const authData = req.body && req.body.authData;
|
||||
// Check if user has provided their required auth providers
|
||||
Auth.checkIfUserHasProvidedConfiguredProvidersForLogin(authData, user.authData, req.config);
|
||||
Auth.checkIfUserHasProvidedConfiguredProvidersForLogin(
|
||||
req,
|
||||
authData,
|
||||
user.authData,
|
||||
req.config
|
||||
);
|
||||
|
||||
let authDataResponse;
|
||||
let validatedAuthData;
|
||||
|
||||
Reference in New Issue
Block a user