mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 07:46:05 -07:00
Made it so users that are in the whitelist do not have a request limit
This commit is contained in:
parent
0c3825905f
commit
7956f9f7ff
2 changed files with 4 additions and 1 deletions
|
@ -880,6 +880,9 @@ namespace PlexRequests.UI.Modules
|
|||
if (IsAdmin)
|
||||
return true;
|
||||
|
||||
if (s.ApprovalWhiteList.Contains(Username))
|
||||
return true;
|
||||
|
||||
var requestLimit = GetRequestLimitForType(type, s);
|
||||
if (requestLimit == 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue