mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 10:48:53 +00:00
Fix another instance of wrong isDisabled check
This commit is contained in:
@@ -85,9 +85,8 @@ class RssController extends BasePageController
|
||||
$uid = $res['id'];
|
||||
$rssToken = $res['api_token'];
|
||||
$maxRequests = $res->role->apirequests;
|
||||
$username = $res['username'];
|
||||
|
||||
if (User::isDisabled($username)) {
|
||||
if (User::isDisabled($res['id'])) {
|
||||
Utility::showApiError(101);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user