* code for task #48841.

This commit is contained in:
王怡栋
2022-02-15 10:47:50 +08:00
parent 6e7b0af562
commit 936e1e21e1
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -518,6 +518,7 @@ class installModel extends model
$admin->realname = $this->post->account;
$admin->password = md5($this->post->password);
$admin->gender = 'f';
$admin->visions = 'rnd,lite';
$this->dao->replace(TABLE_USER)->data($admin)->check('account', 'notempty')->exec();
/* Update group name and desc on dafault lang. */