Method: Mints::BaseController#mints_contact_logout
- Defined in:
- lib/mints/controllers/base_controller.rb
permalink #mints_contact_logout ⇒ Object
Mints Contact Logout.
Destroy session from mints.cloud and delete local session cookie
37 38 39 40 41 42 43 44 |
# File 'lib/mints/controllers/base_controller.rb', line 37 def mints_contact_logout # Logout from mints @mints_contact.logout # Delete local cookie .delete(:mints_contact_session_token) .delete(:mints_contact_id) @contact_token = nil end |