修改用户密码前先验证旧密码,增加安全性
This commit is contained in:
@@ -3,8 +3,6 @@ package com.genersoft.iot.vmp.web;
|
||||
import com.genersoft.iot.vmp.service.IUserService;
|
||||
import com.genersoft.iot.vmp.storager.dao.dto.User;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.util.StringUtils;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@CrossOrigin
|
||||
|
||||
Reference in New Issue
Block a user