* Finish task #5249.
This commit is contained in:
@@ -146,7 +146,6 @@ $lang->user->error->accountDupl = "ID %s,account has been used.";
|
||||
$lang->user->error->realname = "ID %s,must be real name";
|
||||
$lang->user->error->password = "ID %s,password must be 6 characters at least.";
|
||||
$lang->user->error->mail = "ID %s,please enter valid Email address";
|
||||
$lang->user->error->role = "ID %s,role cannot be null.";
|
||||
$lang->user->error->reserved = "ID %s,account is reserved.";
|
||||
|
||||
$lang->user->error->verifyPassword = "Verification failed. Please enter your Login Password.";
|
||||
|
||||
@@ -146,7 +146,6 @@ $lang->user->error->accountDupl = "【ID %s】的用户名已经存在";
|
||||
$lang->user->error->realname = "【ID %s】的真实姓名必须填写";
|
||||
$lang->user->error->password = "【ID %s】的密码必须为六位以上";
|
||||
$lang->user->error->mail = "【ID %s】的邮箱地址不正确";
|
||||
$lang->user->error->role = "【ID %s】的职位不能为空";
|
||||
$lang->user->error->reserved = "【ID %s】的用户名已被系统预留";
|
||||
|
||||
$lang->user->error->verifyPassword = "验证失败,请检查您的系统登录密码是否正确";
|
||||
|
||||
@@ -146,7 +146,6 @@ $lang->user->error->accountDupl = "【ID %s】的用戶名已經存在";
|
||||
$lang->user->error->realname = "【ID %s】的真實姓名必須填寫";
|
||||
$lang->user->error->password = "【ID %s】的密碼必須為六位以上";
|
||||
$lang->user->error->mail = "【ID %s】的郵箱地址不正確";
|
||||
$lang->user->error->role = "【ID %s】的職位不能為空";
|
||||
$lang->user->error->reserved = "【ID %s】的用戶名已被系統預留";
|
||||
|
||||
$lang->user->error->verifyPassword = "驗證失敗,請檢查您的系統登錄密碼是否正確";
|
||||
|
||||
@@ -500,7 +500,6 @@ class userModel extends model
|
||||
if(!validater::checkAccount($users[$id]['account'])) die(js::error(sprintf($this->lang->user->error->account, $id)));
|
||||
if($users[$id]['realname'] == '') die(js::error(sprintf($this->lang->user->error->realname, $id)));
|
||||
if($users[$id]['email'] and !validater::checkEmail($users[$id]['email'])) die(js::error(sprintf($this->lang->user->error->mail, $id)));
|
||||
if(empty($users[$id]['role'])) die(js::error(sprintf($this->lang->user->error->role, $id)));
|
||||
|
||||
$accounts[$id] = $account;
|
||||
$prev['dept'] = $users[$id]['dept'];
|
||||
|
||||
Reference in New Issue
Block a user