Dropped Redis model, rebuilt without it

The model was getting a bit more complicated than I would have liked. Went back to using straight redis commands and moved some of the user model logic into the custommodule.
This commit is contained in:
Josh Sherman 2013-12-17 00:46:47 -05:00
parent 2c5144f026
commit c1817a24be
13 changed files with 69 additions and 198 deletions

View file

@ -6,7 +6,7 @@ class UserModule extends CustomModule
{
parent::__construct();
if (!User::isAuthenticated())
if (!$this->uid)
{
Browser::redirect('/login');
}