aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/userController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controllers/userController.php')
-rw-r--r--app/Controllers/userController.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Controllers/userController.php b/app/Controllers/userController.php
index aa5682e26..6766182c1 100644
--- a/app/Controllers/userController.php
+++ b/app/Controllers/userController.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* Controller to handle user actions.
@@ -536,7 +537,7 @@ class FreshRSS_user_Controller extends FreshRSS_ActionController {
$ok = true;
if ($self_deletion) {
// We check the password if it’s a self-destruction
- $nonce = Minz_Session::param('nonce', '');
+ $nonce = Minz_Session::paramString('nonce');
$challenge = Minz_Request::paramString('challenge');
$ok &= FreshRSS_FormAuth::checkCredentials(