mirror of https://gitee.com/y_project/RuoYi.git
Pre Merge pull request !417 from 简单风/feature-regulation
commit
122738e83c
|
@ -63,11 +63,7 @@ public class SysProfileController extends BaseController
|
|||
public boolean checkPassword(String password)
|
||||
{
|
||||
SysUser user = getSysUser();
|
||||
if (passwordService.matches(user, password))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return passwordService.matches(user, password);
|
||||
}
|
||||
|
||||
@GetMapping("/resetPwd")
|
||||
|
|
Loading…
Reference in New Issue