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

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. (

1 Like

Please help us by sharing your code

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