50 lines
1.3 KiB
JavaScript
50 lines
1.3 KiB
JavaScript
// Tdarr Pro Bypass - Completely Clean Auth Module
|
|
'use strict';
|
|
|
|
// BYPASSED: Always authorized for Pro features
|
|
let authorised = true;
|
|
|
|
// Mock functions to maintain compatibility
|
|
const useToken = async (token, baseUrl) => {
|
|
console.log('[BYPASS] Pro Bypass: useToken called - returning success');
|
|
return 'success'; // Always successful
|
|
};
|
|
|
|
// BYPASSED: Always succeed without contacting tdarr.io
|
|
const authUpdate = async () => {
|
|
console.log('[BYPASS] Tdarr Pro Bypass: Authentication bypassed - Pro features unlocked!');
|
|
authorised = true; // Always set to true
|
|
};
|
|
|
|
// BYPASSED: Always return true for Pro features
|
|
const authStatus = async (forceUpdate = false) => {
|
|
console.log('[BYPASS] Pro Bypass: authStatus called - returning true (Pro active)');
|
|
return true; // BYPASS: Always authorized for ALL Pro features
|
|
};
|
|
|
|
// Export functions with multiple patterns for compatibility
|
|
module.exports = {
|
|
useToken,
|
|
authUpdate,
|
|
authStatus
|
|
};
|
|
|
|
// Additional CommonJS exports
|
|
exports.useToken = useToken;
|
|
exports.authUpdate = authUpdate;
|
|
exports.authStatus = authStatus;
|
|
|
|
// Support for both default and named exports
|
|
exports.default = {
|
|
useToken,
|
|
authUpdate,
|
|
authStatus
|
|
};
|
|
|
|
console.log('[SUCCESS] Tdarr Pro Bypass Loaded - All Pro features are now unlocked!');
|
|
|
|
|
|
|
|
|
|
|