I add authentication for users using the Feathers.js generator:
feathers generate authentication By default, authentication is added only by a bunch of email + password. It is required to add authentication by the second link: login + password. Both bundles should work simultaneously. Thus, the user must be able to enter both email and login. Changes in default.json did not lead to anything. I guess I need to change this block:
"local": { "entity": "user", "usernameField": "login", "passwordField": "password" } How can I add authentication via the second link?