Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

Passwordfeld in auth.local does not work as expected #435

Closed
longntp opened this issue Mar 6, 2017 · 1 comment
Closed

Passwordfeld in auth.local does not work as expected #435

longntp opened this issue Mar 6, 2017 · 1 comment

Comments

@longntp
Copy link

longntp commented Mar 6, 2017

My password field in DB is not "password" as usual. It saves nested inside another object (just call it "something")
So my default.json file is like below right?, I can not find any documents mentions about that case. Sorry if I missed anything.
"local": { "usernameField": "username", "passwordField": "services.something" },

@daffl
Copy link
Member

daffl commented Mar 6, 2017

v0.7.x passwordField does not support the dot notation. You will have to upgrade to v1.0.0.

@daffl daffl closed this as completed Mar 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants