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

Update generateMFASecurityToken.sh #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rgennisse
Copy link

Hi Prasad Domala,

I wanted to use your script, but the order of the credentials was changed so reading the credentials was failing Since we don't know what version a user is using, I made it more robust. The only downside is the extra need of jq.

The order might also be OS dependent. I used it on a macbook.

I'll hope you like my change.

Kind regards,
Remco

The order of the credentials was changed so reading the credentials was failing Since we don't know what version a user is using, I made it more robust. The only downside is the extra need of jq.
My change added quotes the the config file. This breaks it. So I added an extra -r to strip the variables from there quotes.
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