aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/sledjchisl/sledjchisl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index f34d1a6..3cd22e4 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -5327,6 +5327,7 @@ static int accountCreateSub(reqData *Rd, inputForm *iF, inputValue *iV)
5327 Rd->stuff->putstr(Rd->stuff, "passHash", h); 5327 Rd->stuff->putstr(Rd->stuff, "passHash", h);
5328 Rd->stuff->putstr(Rd->stuff, "passSalt", salt); 5328 Rd->stuff->putstr(Rd->stuff, "passSalt", salt);
5329 if (NULL != Rd->shs.name) free(Rd->shs.name); 5329 if (NULL != Rd->shs.name) free(Rd->shs.name);
5330 // So that we can get the name later when we show the account data entry page via GET.
5330 Rd->shs.name = Rd->stuff->getstr(Rd->stuff, "name", true); 5331 Rd->shs.name = Rd->stuff->getstr(Rd->stuff, "name", true);
5331 free(h); 5332 free(h);
5332 Rd->shs.status = SHS_REFRESH; 5333 Rd->shs.status = SHS_REFRESH;
@@ -5386,6 +5387,7 @@ static int accountAddSub(reqData *Rd, inputForm *iF, inputValue *iV)
5386static int accountSaveSub(reqData *Rd, inputForm *iF, inputValue *iV) 5387static int accountSaveSub(reqData *Rd, inputForm *iF, inputValue *iV)
5387{ 5388{
5388 int ret = 0; 5389 int ret = 0;
5390 // Using body[user] here, coz we got to this page via a URL query.
5389 char *uuid = Rd->shs.UUID, *first = getStrH(Rd->body, "user"), *last = NULL; 5391 char *uuid = Rd->shs.UUID, *first = getStrH(Rd->body, "user"), *last = NULL;
5390 int c = accountRead(Rd, NULL, first, last); 5392 int c = accountRead(Rd, NULL, first, last);
5391 5393