mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Testeando controlador clientes
This commit is contained in:
@ -46,6 +46,7 @@ class LoginAuthFilter implements FilterInterface
|
||||
$language->setLocale(session()->lang);
|
||||
|
||||
$getWhiteList = $this->whiteListController();
|
||||
|
||||
foreach ($getWhiteList as $item){
|
||||
if(strtolower($item) == $uri->getSegment(1)){
|
||||
return true;
|
||||
@ -83,6 +84,8 @@ class LoginAuthFilter implements FilterInterface
|
||||
public function whiteListController(){
|
||||
return [
|
||||
'',
|
||||
'Clientes',
|
||||
|
||||
'BaseController',
|
||||
'Home',
|
||||
'Login',
|
||||
@ -94,7 +97,8 @@ class LoginAuthFilter implements FilterInterface
|
||||
'Ajax',
|
||||
'Integration',
|
||||
'Migrate',
|
||||
'Test'
|
||||
'Test',
|
||||
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user