ASP.NET Identity 2 Remember Me - User Is Being Logged Out

后端 未结 5 870
南旧
南旧 2021-02-08 12:40

I am using Identity 2.1 in my MVC5 app. I am setting the isPersistent property of the PasswordSignInAsync to true to enable \'Remember Me\':

var result = await S         


        
5条回答
  •  南旧
    南旧 (楼主)
    2021-02-08 13:18

    Form this post, the isPersistent parameter sets whether the authentication session is persisted across multiple requests.

提交回复
热议问题