Fixed bug.

This commit is contained in:
default 2022-10-04 09:52:41 +02:00
parent da7bf43385
commit 5f74358dc4

View file

@ -217,7 +217,7 @@ int adduser(char *uid)
config = xs_dict_append(config, "avatar", ""); config = xs_dict_append(config, "avatar", "");
config = xs_dict_append(config, "bio", ""); config = xs_dict_append(config, "bio", "");
config = xs_dict_append(config, "published", date); config = xs_dict_append(config, "published", date);
config = xs_dict_append(config, "password", pwd_f); config = xs_dict_append(config, "passwd", pwd_f);
xs *basedir = xs_fmt("%s/user/%s", srv_basedir, uid); xs *basedir = xs_fmt("%s/user/%s", srv_basedir, uid);