Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

How to populate user details when Remember me is checked in Asp.net core identity

$
0
0

Hi

We are using Asp.Net core 2.0 application and also implementing identity. For login using below code,

var result = await _signInManager.PasswordSignInAsync(model.UserName, model.Password, model.RememberMe, lockoutOnFailure: false);

So its working fine but next time when user comes on login page it should populate user name and password in corresponding controls.

How to get those details? I am getting User name using HttpContext.user.Identity.Name but how to get actual Password(not hashed password).

So please give details to fetch user details when remember me is checked.

Thanks,

Ashvini Awaskar


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>