phatworx / devise_security_extension

An enterprise security extension for devise, trying to meet industrial standard security demands for web applications.
MIT License
747 stars 346 forks source link

Update session_limitable.rb to display a flash message in the browser #246

Open KalyanChandu001 opened 4 years ago

KalyanChandu001 commented 4 years ago

Update the flash message that the user has been logged out because he is already logged in from another device/browser like below

flash[:notice] = "You have been logged out because you signed in on another device/browser"