Fix wrong authenticate() parameter type in mod/removeme

This commit is contained in:
Hypolite Petovan 2018-01-24 11:41:23 -05:00
parent ba5ae17fe0
commit 4b071d1c33

View 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
}