From: Hypolite Petovan Date: Wed, 24 Jan 2018 16:41:23 +0000 (-0500) Subject: Fix wrong authenticate() parameter type in mod/removeme X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4b071d1c33ec63cf354b3c608460747c508c03c9;p=friendica.git Fix wrong authenticate() parameter type in mod/removeme --- diff --git a/mod/removeme.php b/mod/removeme.php index 5912a6e313..d49669ae84 100644 --- a/mod/removeme.php +++ b/mod/removeme.php @@ -26,7 +26,7 @@ function removeme_post(App $a) return; } - if (User::authenticate($a->user['uid'], trim($_POST['qxz_password']))) { + if (User::authenticate($a->user, trim($_POST['qxz_password']))) { User::remove($a->user['uid']); // NOTREACHED }