!435 修改密码类型默认手机号

* 修改密码类型默认手机号
pull/446/head
小和 2023-04-20 01:59:42 +00:00 committed by Karson
parent e4ef9f1db0
commit db5574582e
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ class User extends Api
*/
public function resetpwd()
{
$type = $this->request->post("type");
$type = $this->request->post("type", "mobile");
$mobile = $this->request->post("mobile");
$email = $this->request->post("email");
$newpassword = $this->request->post("newpassword");