]> git.mxchange.org Git - friendica.git/commitdiff
Fix wrong authenticate() parameter type in mod/removeme
authorHypolite Petovan <mrpetovan@gmail.com>
Wed, 24 Jan 2018 16:41:23 +0000 (11:41 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Wed, 24 Jan 2018 16:41:23 +0000 (11:41 -0500)
mod/removeme.php

index 5912a6e3139fda4d45bd695b9ca5d5a75e6d97a8..d49669ae844ba155b707ad012b4d13e6b751b39d 100644 (file)
@@ -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
        }