adonisjs / auth

Official Authentication package for AdonisJS
https://docs.adonisjs.com/guides/auth/introduction
MIT License
187 stars 65 forks source link

hashPassword user argument is in PascalCase #205

Closed Melchyore closed 1 year ago

Melchyore commented 1 year ago

Package version

8.2.2

Node.js and npm version

16.17.0

Sample Code (to reproduce the issue)

When you configure the package, it will generate a User model. After the last release, the argument user of the hashPassword method is in PascalCase, so we'ell end up with class name === argument name.

BONUS (a sample repo to reproduce the issue)