Fix jwt-token
This commit is contained in:
@@ -157,6 +157,11 @@ module.exports = (sequelize) => {
|
||||
defaultValue: true,
|
||||
comment: 'Whether users can have multiple concurrent sessions'
|
||||
},
|
||||
allow_registration: {
|
||||
type: DataTypes.BOOLEAN,
|
||||
defaultValue: false, // Default to false for security
|
||||
comment: 'Whether self-registration is allowed for local auth'
|
||||
},
|
||||
role_mappings: {
|
||||
type: DataTypes.JSONB,
|
||||
allowNull: true,
|
||||
|
||||
Reference in New Issue
Block a user