Fix wrong authenticate() parameter type in mod/removeme
This commit is contained in:
parent
ba5ae17fe0
commit
4b071d1c33
|
@ -26,7 +26,7 @@ function removeme_post(App $a)
|
||||||
return;
|
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']);
|
User::remove($a->user['uid']);
|
||||||
// NOTREACHED
|
// NOTREACHED
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user