Filter controller without authentication |
I don't know how doesn't work :
Route PHP Code: $routes->add('/user/login', 'User::login',['filter'=>'usersFiltersNoAuth']); Filter class : PHP Code: class UsersFiltersNoAuth implements FilterInterface PHP Code: class UsersFiltersAuth implements FilterInterface if i try to go to /user/chengeEmail or /user/changePassword when ($_SESSION['user_id] is set) i am redirect to /user/index why ? |
Messages In This Thread |
Filter controller without authentication - by pippuccio76 - 08-25-2020, 02:31 AM
RE: Filter controller without authentication - by InsiteFX - 08-25-2020, 03:42 AM
RE: Filter controller without authentication - by pippuccio76 - 08-25-2020, 07:03 AM
RE: Filter controller without authentication - by InsiteFX - 08-25-2020, 08:13 AM
RE: Filter controller without authentication - by pippuccio76 - 08-26-2020, 09:14 AM
RE: Filter controller without authentication - by InsiteFX - 08-26-2020, 10:09 AM
RE: Filter controller without authentication - by pippuccio76 - 08-26-2020, 10:32 AM
RE: Filter controller without authentication - by Chroma - 08-27-2020, 04:18 AM
RE: Filter controller without authentication - by pippuccio76 - 08-28-2020, 01:42 AM
RE: Filter controller without authentication - by pippuccio76 - 08-28-2020, 03:56 AM
|