hi! I'm usign Sentry 2 .1 on laravel 4.2.
When im logged in like a User for example "Admin1", and i create new user
$user=Sentry::register(array(
'username' => 'newUser',
'email'=>'a@a.com',
'password' => 'dontcare'
));
And after use the
Sentry::getUser();
method....I get the newUser... not the user that is logged in.
I need to get the current logged in user... can you help me?
¬¬ Ok... I changed the register method by creteUser.. that's it
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community