diff --git a/app/services/initialize_session_service.rb b/app/services/initialize_session_service.rb index edc7c169ac..ec9c066414 100644 --- a/app/services/initialize_session_service.rb +++ b/app/services/initialize_session_service.rb @@ -40,6 +40,8 @@ class InitializeSessionService if drop_old_sessions? ::UserSession.where(user_id: user.id).delete_all end + + ServiceResult.new(success: true, result: session) end private