lib/rodauth/features/single_session.rb in rodauth-1.17.0 vs lib/rodauth/features/single_session.rb in rodauth-1.18.0
- old
+ new
@@ -5,10 +5,10 @@
error_flash 'This session has been logged out as another session has become active'
redirect
auth_value_method :single_session_id_column, :id
auth_value_method :single_session_key_column, :key
- auth_value_method :single_session_session_key, :single_session_key
+ session_key :single_session_session_key, :single_session_key
auth_value_method :single_session_table, :account_session_keys
auth_methods(
:currently_active_session?,
:no_longer_active_session,