diff options
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 0f05001..9ec56c1 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -8398,7 +8398,7 @@ void account_html(char *file, reqData *Rd, HTMLfile *thisFile) | |||
8398 | C("Ending dynamic page %s %s", Rd->RUri, form); | 8398 | C("Ending dynamic page %s %s", Rd->RUri, form); |
8399 | } | 8399 | } |
8400 | 8400 | ||
8401 | // TODO - This is arse about, I get JSON, but send plain text. Need to set content type ehaders in the mod_auth_custom_http, and maybe send json back as well. | 8401 | // TODO - This is arse about, I get JSON, but send plain text. Need to set content type headers in the mod_auth_custom_http, and maybe send json back as well. |
8402 | void prosody_mod_auth_custom_http_json(char *file, reqData *Rd, HTMLfile *thisFile) | 8402 | void prosody_mod_auth_custom_http_json(char *file, reqData *Rd, HTMLfile *thisFile) |
8403 | { | 8403 | { |
8404 | char *user = getStrH(Rd->body, "username"), *password = getStrH(Rd->body, "password"); | 8404 | char *user = getStrH(Rd->body, "username"), *password = getStrH(Rd->body, "password"); |