Skip to content

Commit

Permalink
modify password update blade
Browse files Browse the repository at this point in the history
  • Loading branch information
JeongJaeSoon committed Sep 18, 2020
1 parent 6f1a0fb commit 4400a7d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions resources/views/password_update.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,16 +143,13 @@ function go_main_page(message, target_uri) {
$is_password_update_success = $login_controller
->update_password_url(array_merge($_SESSION, $_POST), $_GET['expire_time']);
echo "<h1>비밀번호 변경 중입니다.</h1>";
$target_uri = $_POST['uri'];
$result_message = $is_password_update_success ?
'비밀번호 변경을 성공하였습니다.' :
'비밀번호 변경을 실패하였습니다.';
$append_message = '다시 로그인해주세요.';
echo "&nbsp;";
echo "<a href='{$target_uri}'>메인페이지로 이동</a>";
echo "
<script>
go_main_page(`{$result_message}\n{$append_message}`, '{$target_uri}')
Expand Down

0 comments on commit 4400a7d

Please sign in to comment.