-
19
-
155
-
10/21/2010
-
Bosnia and Herzegowina
Hello everyone.
How to prevent multiple users login to one account?
-
285
-
2710
-
7/2/2012
-
India
you can change the code in customer controller login action method
by checking whether the customer is already logged in by using
var loggedincustomer=_authenticationService.GetAuthenticatedCustomer();
if(loggedincustomer==null || loggedincustomer.Email!=model.Email)
_authenticationService.SignIn(customer, model.RememberMe);