spadefoot / kohana-orm-leap

An ORM module for the Kohana PHP framework that is designed to work with all major databases.
http://spadefoot.github.io/kohana-orm-leap/
100 stars 25 forks source link

User refresh function in Auth #57

Closed corbinu closed 12 years ago

corbinu commented 12 years ago

I ran into an issue when creating a user profile page that the current user is stored in session by Auth won't be reloaded until the user logs back in again. This is my quick and dirty fix so that $auth->refresh_user() can be called after a major change to a user that might be logged in. There might be a much better way to do it.

Also thanks to everybody who works on the project is very useful :)