DotnetDesk icon indicating copy to clipboard operation
DotnetDesk copied to clipboard

Doesn't work, it loops in login page.

Open drumset opened this issue 5 years ago • 5 comments

Great work, but even if I have authenticated user, the application loops in login page. Page not found if i try to go /Config/Index Action. How to fix?

Thanks in advance.

drumset avatar May 17 '19 09:05 drumset

Did you click the link to confirm email?

Bezaeel avatar May 18 '19 21:05 Bezaeel

Yes, I followed all the registration steps but the return url is still login. http://localhost:62672/Account/Login?ReturnUrl=%2F The return url seems empty.

drumset avatar May 19 '19 13:05 drumset

Hi, the return URL would be empty because you're not coming from any prior directory/URL within the application, and empty return URL would lead to the index page I have tried to reproduce the issue from registration step to logging in and it all seems fine; Here is what i think the problem is

  • your email confirmation was not successful for this account; try with another account

  • Assuming you entered the right credentials though

Bezaeel avatar May 29 '19 20:05 Bezaeel

Hi! Indeed, after logging in Google Chrome returns the value "/", Opera returns "/ Config / Index" and then everything works.

alexrichi avatar Jun 21 '19 16:06 alexrichi

As a workaround you can register and modify EmailConfirmed property of a user directly in DB

strenkomendencha avatar Feb 21 '20 20:02 strenkomendencha