관리자가 사용자의 비밀번호 변경 후 사용자 최초 로그인 시 비밀번호 변경 화면으로 이동

main
유지인 2025-11-20 10:19:50 +09:00
parent e4fed2bcea
commit fc2d0fe018
2 changed files with 6 additions and 0 deletions

View File

@ -444,6 +444,7 @@ public class GeneralUserMngController {
params.put("userId", userId);
params.put("hiddenChPass", hiddenChPass);
params.put("admPwdChg", "Y");
try {
masterService.updateInfo(params);

View File

@ -179,6 +179,11 @@
<update id="updateInfo" parameterType="map">
<![CDATA[
UPDATE WEB_MEMBER_IN SET PASSWD=#{hiddenChPass}, ENCRYPT_CHANGE = 'Y'
]]>
<if test="admPwdChg != null and admPwdChg !=''">
, ADM_PWD_CHG = #{admPwdChg}
</if>
<![CDATA[
WHERE USERID=#{userId}
]]>
</update>