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

Improve HF_TOKEN Safety and Messaging #13

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mandlinsarah
Copy link
Owner

This small but impactful change adds safety checks to ensure the HF_TOKEN environment variable does not get logged if it contains sensitive data or formatting issues. Additionally, it improves the messaging for better clarity.

@mandlinsarah
Copy link
Owner Author

why is it required ?

@mandlinsarah
Copy link
Owner Author

@mandlinsarah The changes were required to ensure that the HF_TOKEN is sanitized before being used in the login process. This helps in preventing potential issues caused by special characters in the token, thereby enhancing security and robustness of the script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant