Asp.net Core Restrict (prevent) multiple login

898 Views Asked by At

I am using asp.net core identity to login.

    await _signInManager.PasswordSignInAsync(user.UserName, model.Password, isPersistent: false, lockoutOnFailure: true);

I want to restrict same user from multiple logins from different devices or places. Whats the way?

I also read this link but did not get any results

0

There are 0 best solutions below