fix(setPassword): proper access type
gitea/salix/pipeline/head This commit looks good Details

Refs #5471
This commit is contained in:
Joan Sanchez 2023-04-03 08:54:15 +02:00
parent 1258dd54b6
commit 02a1bcbfd3
2 changed files with 2 additions and 0 deletions

View File

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

View File

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