lib/rodauth/features/session_expiration.rb in rodauth-2.12.0 vs lib/rodauth/features/session_expiration.rb in rodauth-2.13.0
- old
+ new
@@ -36,9 +36,10 @@
end
def expire_session
clear_session
set_redirect_error_status session_expiration_error_status
+ set_error_reason :session_expired
set_redirect_error_flash session_expiration_error_flash
redirect session_expiration_redirect
end
def update_session