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

feat / add helper script for authentication #88

Merged
merged 2 commits into from
Oct 23, 2023
Merged

Conversation

rapcmia
Copy link
Contributor

@rapcmia rapcmia commented Oct 20, 2023

Add helper folder with scripts for users to easily update credentials.yml

add_authemail.py

  • prompt user to enter email address
  • if user add none, exit the script
  • adds the email address to credentials.yml

edit_authadmin_password.py

  • prompt user to enter admin password
  • If user addnone, uses default t3st01
  • update admin password on credentials.yml

How to use:

  1. conda activate dashboard
  2. python ./helper/add_authemail.py or ./helper/edit_authadmin_password.py

@rapcmia rapcmia marked this pull request as draft October 20, 2023 12:34
@rapcmia rapcmia marked this pull request as ready for review October 20, 2023 12:41
Copy link
Contributor

@cardosofede cardosofede left a comment

Choose a reason for hiding this comment

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

LGTM!

@cardosofede cardosofede merged commit dc59c49 into main Oct 23, 2023
@cardosofede cardosofede deleted the add_helpers branch October 23, 2023 22:28
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.

2 participants