-
I am using Session Guard for auth, when trying to verify user using AuthFinder with correct credential it always returns Invalid user credentials. Tutor model const AuthFinder = withAuthFinder(() => hash.use('scrypt'), { export default class Tutor extends compose(BaseModel, AuthFinder) { @beforeCreate() @column() @column() @column() @column({}) @column({}) Tutors Controllers export default class TutorsController { Login Tutor Validator export const loginTutorValidator = vine.compile( Your assistance is much appreciated |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Resolved - I was hashing the password when creating the user. The documentation is clear on this when using AuthFinder |
Beta Was this translation helpful? Give feedback.
Resolved - I was hashing the password when creating the user. The documentation is clear on this when using AuthFinder