Fix jwt-token

This commit is contained in:
2025-09-14 10:10:04 +02:00
parent bcaa48e5de
commit de220bb040
7 changed files with 586 additions and 20 deletions

View File

@@ -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,