Skip to content
This repository was archived by the owner on Aug 29, 2018. It is now read-only.

Commit b2cd078

Browse files
Merge pull request #12 from feathersjs/fix-config-source
Fix default authentication config name
2 parents d9c6e7c + db5cfe4 commit b2cd078

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hooks/hash-password.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default function hashPassword (options = {}) {
1111
}
1212

1313
const app = hook.app;
14-
const authOptions = app.get('auth') || {};
14+
const authOptions = app.get('authentication') || {};
1515

1616
options = merge({ passwordField: 'password' }, authOptions.local, options);
1717

0 commit comments

Comments
 (0)