From 4b071d1c33ec63cf354b3c608460747c508c03c9 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 24 Jan 2018 11:41:23 -0500 Subject: [PATCH] Fix wrong authenticate() parameter type in mod/removeme --- mod/removeme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.39.5