mirror of
https://github.com/nextcloud/server.git
synced 2024-07-29 20:15:55 +02:00
Check for admin user
This commit is contained in:
parent
85a410d7a3
commit
9605e1926c
@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
require_once ("../../lib/base.php");
|
||||
OC_Util::checkAdminUser();
|
||||
OC_JSON::checkLoggedIn();
|
||||
$action=isset($_POST['action'])?$_POST['action']:$_GET['action'];
|
||||
$result=false;
|
||||
|
Loading…
Reference in New Issue
Block a user