Commit a7f52e41 authored by sugar's avatar sugar

姓名卡

parent 2de2f4bf
......@@ -456,8 +456,6 @@ class User extends Base
* 忘记登录密码
*/
public function forgetPassword(){
$nickname = create_nickname(rand(1,2));
dump($nickname);die;
$account = $this->request->post('account');
$first_password = $this->request->post('first_password', 0);
$second_password = $this->request->post('second_password', 0);
......
......@@ -224,7 +224,6 @@ class Auth
'avatar' => '',
];
$params = array_merge($data, [
'nickname' => $extend['nickname'],
// 'nickname' => preg_match("/^1[3-9]{1}\d{9}$/",$username) ? substr_replace($username,'****',3,4) : $username,
'salt' => Random::alnum(),
'jointime' => $time,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment