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

Error in Ex 13.3 #10

Open
sjharper79 opened this issue Jun 21, 2022 · 2 comments
Open

Error in Ex 13.3 #10

sjharper79 opened this issue Jun 21, 2022 · 2 comments

Comments

@sjharper79
Copy link

Exercise 13-3, step 3 says to use this code:

"{{ '{{ passw }}' | password_hash('sha512', 'myrandomsalt') }}"

but it does not work. The following code does work.
"{{ passwd | password_hash('sha512', 'myrandomsalt') }}"

@cutrightjm
Copy link

cutrightjm commented Jul 10, 2022

The following works fine for me:
msg: "{{ '{{ passw }}' | password_hash('sha512','myrandomsalt') }}"

Your variables between the first and second lines have different names. passw vs. passwd

@sjharper79
Copy link
Author

I think that's a typo in the post.

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

No branches or pull requests

2 participants