cartalyst/sentry — pull request #47 by dohpaz42 (2012-10-18 16:09:47+00:00)
Title: Sentry::force_login() bug fix, and Sentry_User::to_array() feature

In Sentry::login(), the user's id is cast to an integer before being stored in the session. In Sentry::force_login(), storing the user's id is not being cast to an integer, which will cause a Sentry\SentryException to be thrown on all subsequent calls to Sentry::user().

Additionally, a feature request is being made to add support for a to_array() method in Sentry_User, to make retrieving all of the Sentry_User data as simple as one method call.