forked from Telodendria/Telodendria
Fix warnings in RouteChangePwd.c
This commit is contained in:
parent
9b21e2460a
commit
eef615fc9a
2 changed files with 4 additions and 4 deletions
|
@ -53,7 +53,6 @@ ROUTE_IMPL(RouteChangePwd, args)
|
||||||
|
|
||||||
HashMap *request = NULL;
|
HashMap *request = NULL;
|
||||||
HashMap *response = NULL;
|
HashMap *response = NULL;
|
||||||
HashMap *devices = NULL;
|
|
||||||
|
|
||||||
JsonValue *val = NULL;
|
JsonValue *val = NULL;
|
||||||
|
|
||||||
|
@ -64,7 +63,6 @@ ROUTE_IMPL(RouteChangePwd, args)
|
||||||
|
|
||||||
char *token;
|
char *token;
|
||||||
char *newPassword;
|
char *newPassword;
|
||||||
char *key;
|
|
||||||
|
|
||||||
if (MATRIX_PATH_PARTS(args->path) != 0 ||
|
if (MATRIX_PATH_PARTS(args->path) != 0 ||
|
||||||
HttpRequestMethodGet(args->context) != HTTP_POST)
|
HttpRequestMethodGet(args->context) != HTTP_POST)
|
||||||
|
|
|
@ -65,8 +65,10 @@ ROUTE(RouteLogin); /* /_matrix/client/(r0|v3)/login */
|
||||||
ROUTE(RouteLogout); /* /_matrix/client/(r0|v3)/logout */
|
ROUTE(RouteLogout); /* /_matrix/client/(r0|v3)/logout */
|
||||||
ROUTE(RouteRegister); /* /_matrix/client/(r0|v3)/register */
|
ROUTE(RouteRegister); /* /_matrix/client/(r0|v3)/register */
|
||||||
ROUTE(RouteRefresh); /* /_matrix/client/(r0|v3)/refresh */
|
ROUTE(RouteRefresh); /* /_matrix/client/(r0|v3)/refresh */
|
||||||
ROUTE(RouteWhoami); /* /_matrix/client/(r0|v3)/account/whoami */
|
ROUTE(RouteWhoami); /* /_matrix/client/(r0|v3)/account/wh
|
||||||
ROUTE(RouteChangePwd); /* /_matrix/client/(r0|v3)/account/password */
|
* oami */
|
||||||
|
ROUTE(RouteChangePwd); /* /_matrix/client/(r0|v3)/account/pa
|
||||||
|
* ssword */
|
||||||
|
|
||||||
ROUTE(RouteTokenValid); /* /_matrix/client/v1/register/m.logi
|
ROUTE(RouteTokenValid); /* /_matrix/client/v1/register/m.logi
|
||||||
* n.registration_token/validity */
|
* n.registration_token/validity */
|
||||||
|
|
Loading…
Reference in a new issue