Update apps/login/src/lib/server/loginname.ts

Co-authored-by: Elio Bischof <elio@zitadel.com>
This commit is contained in:
Max Peintner
2024-12-27 11:43:12 +01:00
committed by GitHub
parent d59b2ed612
commit 52d9753358

View File

@@ -170,8 +170,6 @@ export async function sendLoginname(command: SendLoginnameCommand) {
session.factors?.user?.id,
);
console.log(methods);
if (!methods.authMethodTypes || !methods.authMethodTypes.length) {
if (
potentialUsers[0].type.case === "human" &&