Skip to content
Snippets Groups Projects
Commit a179b2fd authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo Committed by Tim van Dijen
Browse files

bugfix: Require admin for phpinfo in the new user interface

parent 2906c219
No related branches found
No related tags found
No related merge requests found
......@@ -128,6 +128,8 @@ class ConfigController
*/
public function phpinfo()
{
Utils\Auth::requireAdmin();
return new RunnableResponse('phpinfo');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment