mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-20 08:57:42 +00:00
Update apps/login/src/lib/server/loginname.ts
Co-authored-by: Elio Bischof <elio@zitadel.com>
This commit is contained in:
@@ -170,8 +170,6 @@ export async function sendLoginname(command: SendLoginnameCommand) {
|
|||||||
session.factors?.user?.id,
|
session.factors?.user?.id,
|
||||||
);
|
);
|
||||||
|
|
||||||
console.log(methods);
|
|
||||||
|
|
||||||
if (!methods.authMethodTypes || !methods.authMethodTypes.length) {
|
if (!methods.authMethodTypes || !methods.authMethodTypes.length) {
|
||||||
if (
|
if (
|
||||||
potentialUsers[0].type.case === "human" &&
|
potentialUsers[0].type.case === "human" &&
|
||||||
|
Reference in New Issue
Block a user