Fix wrong authenticate() parameter type in mod/removeme

pull/4323/head
Hypolite Petovan 2018-01-24 11:41:23 -05:00
rodzic ba5ae17fe0
commit 4b071d1c33
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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