mirror of https://github.com/BOINC/boinc.git
default to empty prefs when user is created
svn path=/trunk/boinc/; revision=464
This commit is contained in:
parent
b277cee6cf
commit
2cb772a0cd
|
@ -74,7 +74,7 @@
|
||||||
$authenticator = random_string();
|
$authenticator = random_string();
|
||||||
$email_addr = $HTTP_POST_VARS["new_email_addr"];
|
$email_addr = $HTTP_POST_VARS["new_email_addr"];
|
||||||
$query = sprintf(
|
$query = sprintf(
|
||||||
"insert into user (create_time, email_addr, name, web_password, authenticator, country, postal_code) values(%d, '%s', '%s', '%s', '%s', '%s', %d)",
|
"insert into user (create_time, email_addr, name, web_password, authenticator, country, postal_code, global_prefs, project_prefs) values(%d, '%s', '%s', '%s', '%s', '%s', %d, '', '')",
|
||||||
time(),
|
time(),
|
||||||
$email_addr,
|
$email_addr,
|
||||||
$HTTP_POST_VARS["new_name"],
|
$HTTP_POST_VARS["new_name"],
|
||||||
|
|
Loading…
Reference in New Issue