aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authoronefang2020-05-18 14:55:19 +1000
committeronefang2020-05-18 14:55:19 +1000
commit78a0ef5232856b1687bd791f67481714dcbf8ba3 (patch)
tree89243bba060a64111c290b055259012a27d4cdaf /src
parentShow account name correctly. (diff)
downloadopensim-SC_OLD-78a0ef5232856b1687bd791f67481714dcbf8ba3.zip
opensim-SC_OLD-78a0ef5232856b1687bd791f67481714dcbf8ba3.tar.gz
opensim-SC_OLD-78a0ef5232856b1687bd791f67481714dcbf8ba3.tar.bz2
opensim-SC_OLD-78a0ef5232856b1687bd791f67481714dcbf8ba3.tar.xz
Comments +=
Diffstat (limited to 'src')
-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