1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-07 07:56:23 +00:00

Fix CSRF problem on push function

CSRF is not needed on push because user is not calling other pages. This will fix issues https://github.com/nerzhul/ocsms/issues/25 and https://github.com/nerzhul/ownCloud-SMS-App/issues/8
This commit is contained in:
Ner'zhul 2014-11-19 10:48:36 +01:00
parent e655024521
commit 0ad0164fe5

View File

@ -204,6 +204,7 @@ class SmsController extends Controller {
/**
* @NoAdminRequired
* @NoCSRFRequired
*/
public function push ($smsCount, $smsDatas) {
if ($this->checkPushStructure($smsCount, $smsDatas, true) === false) {