Update deprecated calls in Model\user and mod/removeme

This commit is contained in:
Hypolite Petovan
2018-11-24 20:56:38 -05:00
parent 9d2f474c07
commit 0bae80a2d3
2 changed files with 3 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ function removeme_post(App $a)
]);
}
if (User::authenticate($a->user, trim($_POST['qxz_password']))) {
if (User::getIdFromPasswordAuthentication($a->user, trim($_POST['qxz_password']))) {
User::remove($a->user['uid']);
// NOTREACHED
}