Authentication module for the Lynx framework
npm install lynx-auth --save
In your main app file:
import AuthModule from "lynx-auth";
...
let myConfig = new ConfigBuilder(__dirname).build();
const app = new App(myConfig, [new AuthModule()]);
app.startServer(port);
You can override the settings of the AuthController
using the AuthModule.settings
.
Please check the src/views/auth
and the src/locale
folders to create further customizations.