Start basic LDAP server groundwork
This commit is contained in:
18
app/models/auth/User.model.js
Normal file
18
app/models/auth/User.model.js
Normal file
@@ -0,0 +1,18 @@
|
||||
const AuthUser = require('flitter-auth/model/User')
|
||||
|
||||
/*
|
||||
* Auth user model. This inherits fields and methods from the default
|
||||
* flitter-auth/model/User model, however you can override methods and
|
||||
* properties here as you need.
|
||||
*/
|
||||
class User extends AuthUser {
|
||||
static get schema() {
|
||||
return {...super.schema, ...{
|
||||
// other schema fields here
|
||||
}}
|
||||
}
|
||||
|
||||
// Other members and methods here
|
||||
}
|
||||
|
||||
module.exports = exports = User
|
||||
Reference in New Issue
Block a user