Add command to change password of logged in user

This commit is contained in:
Thorben Günther
2021-03-11 13:56:06 +01:00
parent 71236a0d5a
commit b0aea2bcff
9 changed files with 138 additions and 1 deletions

View File

@@ -2564,6 +2564,19 @@ static struct cmd_t command_defs[] = {
CMD_NOEXAMPLES
},
{ "/changepassword",
parse_args, 0, 0, NULL,
CMD_NOSUBFUNCS
CMD_MAINFUNC(cmd_change_password)
CMD_NOTAGS
CMD_SYN(
"/changepassword")
CMD_DESC(
"Change password of logged in account")
CMD_NOARGS
CMD_NOEXAMPLES
},
// NEXT-COMMAND (search helper)
};