Update README.md
#2
by
Alex283qhrba
- opened
const FREE_TRIAL_DAYS = 1;
const FREE_TRIAL_MILLISECONDS = FREE_TRIAL_DAYS * 24 * 60 * 60 * 1000;
if (NOW > userLastUnlockedTime + FREE_TRIAL_MILLISECONDS) {
// Temporarily disable secure mode for the next 1 day
enableSecureMode(false);
// Update the user's last unlocked timestamp
updateUserLastUnlockedTime(NOW);
} else {
// Secure mode remains active or 1-day trial period has expired
// Show message: "Your 1 day free trial expired, please upgrade to continue unlocking"
}
mlabonne
changed pull request status to
closed