Closed davidemarrone closed 1 year ago
'config-type' = 'setup'
'vhost-man' () { 'defaults' () { 'domain-filter-policy' = null 's2s-secret' = null trusted = null 'vhost-disable-dns-check' = false 'vhost-max-users' = 0L 'vhost-message-forward-jid' = null 'vhost-presence-forward-jid' = null 'vhost-register-enabled' = true 'vhost-tls-required' = false } }
http () { setup () { 'admin-user' = 'admin' 'admin-password' = 'tigase' } }
@davidemarrone You should be able to set it via authRepository:
authRepository () {
default () {
'update-login-time-query' = '{ call TigUpdateLoginTime(?) }'
}
}
See documentation for more details: https://docs.tigase.net/en/latest/Tigase_Administration/Security/_Security.html#tigase-custom-auth-connector
@gradylu please don't hijack issues with unrelated questions - create new one.
@woj-tek thank you, somewhere I a comment (i do not remember where) I have read to use
authRepository () {
default () {
'update-login-time-query' = null
}
}
but it does not work, I will use
authRepository () {
default () {
'update-login-time-query' = 'select 1'
}
}
Regarding this improvment, is it possible to configure from config.tdsl the SP query setting somewhere the key
update-login-time-query
? How can I do it?I didn't see it in the doc thanks