Skip to content
Snippets Groups Projects
Commit 2f618849 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #14753 from owncloud/verify-csrf-token-earlier

Verify CSRF token already in update.php and not the EventSource code
parents 94b7fa17 c0a02f16
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,8 @@
set_time_limit(0);
require_once '../../lib/base.php';
\OCP\JSON::callCheck();
if (OC::checkUpgrade(false)) {
// if a user is currently logged in, their session must be ignored to
// avoid side effects
......
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