Merge branch 'test' of https://gitea.verdnatura.es/verdnatura/salix into dev
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2023-04-04 13:53:42 +02:00
commit b6cfab26d4
3 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,7 @@
module.exports = Self => { module.exports = Self => {
Self.remoteMethod('changePassword', { Self.remoteMethod('changePassword', {
description: 'Changes the user password', description: 'Changes the user password',
accessType: 'WRITE',
accepts: [ accepts: [
{ {
arg: 'id', arg: 'id',

View File

@ -1,6 +1,7 @@
module.exports = Self => { module.exports = Self => {
Self.remoteMethod('setPassword', { Self.remoteMethod('setPassword', {
description: 'Sets the user password', description: 'Sets the user password',
accessType: 'WRITE',
accepts: [ accepts: [
{ {
arg: 'id', arg: 'id',

View File

@ -4,7 +4,8 @@
"options": { "options": {
"mysql": { "mysql": {
"table": "salix.User" "table": "salix.User"
} },
"resetPasswordTokenTTL": "604800"
}, },
"properties": { "properties": {
"id": { "id": {