Changing the default hash when logging in (bcrypt to sha1)

Hello
I tried to change the AdonisJS hash from bcrypt to sha1, during registration everything works (user logged in ect…), however when he logs out, the password doesn’t work. I used the same system as the blog-demo on the github for my authentication system. (https://github.com/adonisjs/adonis-blog-demo)

1 Like

Please help us by sharing your code

My code is the same as the one on the demo blog