비밀번호 변경 화면jsp명 수정, FimsUserBean 제거
parent
47f6a3da37
commit
49030cf4c5
@ -1,15 +0,0 @@
|
|||||||
package cokr.xit.fims.base.service.bean;
|
|
||||||
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
import cokr.xit.foundation.User;
|
|
||||||
|
|
||||||
@Component("fimsUserBean")
|
|
||||||
public class FimsUserBean extends cokr.xit.base.user.service.bean.UserBean {
|
|
||||||
|
|
||||||
public boolean confirmPassword(String password) {
|
|
||||||
User user = this.getUser(currentUser().getAccount(), currentUser().getInstitute());
|
|
||||||
return user.getPassword().equals(passwordEncoder.encode(password));
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in New Issue