mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-11 10:28:50 +00:00
Update login with multiple auth methods to toggle button and logic
This commit is contained in:
@@ -3,7 +3,7 @@ import { Types } from "mongoose";
|
||||
import { BotOrgService } from "../../../services";
|
||||
import { SSOConfig } from "../../models";
|
||||
import {
|
||||
AuthProvider,
|
||||
AuthMethod,
|
||||
MembershipOrg,
|
||||
User
|
||||
} from "../../../models";
|
||||
@@ -171,7 +171,7 @@ export const updateSSOConfig = async (req: Request, res: Response) => {
|
||||
}
|
||||
},
|
||||
{
|
||||
authProviders: [AuthProvider.EMAIL],
|
||||
authProviders: [AuthMethod.EMAIL],
|
||||
$unset: {
|
||||
authProvider: 1,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user