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