Fix wrong authenticate() parameter type in mod/removeme
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user