Skip to content

Commit

Permalink
add auth blocked as access denied for AD when unrestricting
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBeastLT committed Nov 25, 2024
1 parent d56dc0e commit 12c608a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/moch/alldebrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,6 @@ function statusReady(statusCode) {
}

function errorExpiredSubscriptionError(error) {
return ['AUTH_BAD_APIKEY', 'MUST_BE_PREMIUM', 'MAGNET_MUST_BE_PREMIUM', 'FREE_TRIAL_LIMIT_REACHED', 'AUTH_USER_BANNED']
return ['AUTH_BAD_APIKEY', 'AUTH_BLOCKED', 'MUST_BE_PREMIUM', 'MAGNET_MUST_BE_PREMIUM', 'FREE_TRIAL_LIMIT_REACHED', 'AUTH_USER_BANNED']
.includes(error.code);
}

0 comments on commit 12c608a

Please sign in to comment.