bug 9097: default admin email is NULL. It can be reset later with updateUser API.

status 9097: resolved fixed
This commit is contained in:
alena 2011-03-22 10:25:13 -07:00
parent e9a10c53dc
commit 8906b77e19
1 changed files with 2 additions and 3 deletions

View File

@ -337,7 +337,6 @@ public class ConfigurationServerImpl implements ConfigurationServer {
String firstname = "admin";
String lastname = "cloud";
String password = "password";
String email = "";
MessageDigest md5 = null;
try {
@ -366,8 +365,8 @@ public class ConfigurationServerImpl implements ConfigurationServer {
}
// now insert the user
insertSql = "INSERT INTO `cloud`.`user` (id, username, password, account_id, firstname, lastname, email, created) " +
"VALUES (" + id + ",'" + username + "','" + sb.toString() + "', 2, '" + firstname + "','" + lastname + "','" + email + "',now())";
insertSql = "INSERT INTO `cloud`.`user` (id, username, password, account_id, firstname, lastname, created) " +
"VALUES (" + id + ",'" + username + "','" + sb.toString() + "', 2, '" + firstname + "','" + lastname + "',now())";
txn = Transaction.currentTxn();
try {