add csrf check on getUserTypeByUserUuid
This commit is contained in:
parent
44d58d08a1
commit
371da03450
@ -2904,7 +2904,7 @@ class PageController extends Controller {
|
|||||||
return $this->myDb->getClientGroupFacturations();
|
return $this->myDb->getClientGroupFacturations();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @NoAdminRequired
|
* @NoAdminRequired
|
||||||
* @NoCSRFRequired
|
* @NoCSRFRequired
|
||||||
*
|
*
|
||||||
@ -2913,6 +2913,11 @@ class PageController extends Controller {
|
|||||||
return $this->myDb->createDefaultGroupFacturation();
|
return $this->myDb->createDefaultGroupFacturation();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @NoAdminRequired
|
||||||
|
* @NoCSRFRequired
|
||||||
|
*
|
||||||
|
*/
|
||||||
public function getUserTypeByUserUuid($userUuid){
|
public function getUserTypeByUserUuid($userUuid){
|
||||||
try{
|
try{
|
||||||
return json_encode(value: $this->myDb->getUserTypeByUserUuid($userUuid));
|
return json_encode(value: $this->myDb->getUserTypeByUserUuid($userUuid));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user