Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

display toast on login when license is nearing expiration #981

Conversation

melinoix
Copy link
Contributor

Display toast when logging in when license is nearing expiration. I created a env variable to choose this "nearing expiration" in days, you can change it with "export PUBLIC_LICENSE_EXPIRATION_DAYS=", otherwise the default one is 30 days.

@Mohamed-Hacene Mohamed-Hacene marked this pull request as draft November 18, 2024 11:10
@nas-tabchiche nas-tabchiche marked this pull request as ready for review November 23, 2024 22:27
default value for expiration warning: 7 days
Copy link
Collaborator

@eric-intuitem eric-intuitem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nas-tabchiche nas-tabchiche merged commit 2f8d756 into main Nov 25, 2024
16 checks passed
@nas-tabchiche nas-tabchiche deleted the CA-531-display-toast-on-login-when-license-is-nearing-expiration branch November 25, 2024 00:33
@github-actions github-actions bot locked and limited conversation to collaborators Nov 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants