rm comment

This commit is contained in:
Max Peintner
2024-11-11 10:48:34 +01:00
parent 7cbdb09939
commit a88c1144fa

View File

@@ -185,11 +185,6 @@ export async function sendLoginname(command: SendLoginnameCommand) {
redirect("/verify?" + paramsVerify);
}
// what to do with users with valid email but no auth methods? redirect to /authenticator/set?
// return {
// error:
// "User has no available authentication methods. Contact your administrator to setup authentication for the requested user.",
// };
const paramsAuthenticatorSetup = new URLSearchParams({
loginName: session.factors?.user?.loginName,