Call to 'anvil.users.login_with_form(...)' never returns when a valid eMail address is submitted

You’re using the magic link login method, so the behavior makes sense. When the user elects to login via a magic link, they get a message saying, basically, “You’re done here, close this window”.

When they click the link in their email, the app opens again. Presumably the app should use anvil.users.get_user() to see if the user is logged in to do the part that you have in your else.

1 Like