ASP.NET Identity: Authentication Error

0

I changed the PK of the String Identity tables to Int, but When you log in, Identity does not authenticate, it logs usually do not have access to any of the controllers which requires permission, returns to Home. I do not know if there is any problem with the problem, but I ManageController authorization annotation and debug the action Index and in the following line the result is always 0:

var userId = User.Identity.GetUserId<int>();

What can it be?

* If you need more information, I'll update the post.

    
asked by anonymous 20.10.2016 / 17:32

0 answers