Skip to content

Commit

Permalink
Merge pull request #94 from letmeknowmyfriend/Chore/Set_Up_For_Deploy
Browse files Browse the repository at this point in the history
[Fix] 비밀번호 변경 페이지 버그 수정
  • Loading branch information
ChaCha3088 authored Dec 28, 2023
2 parents 4bb68ba + 4785a4a commit 29681fa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ public String changePasswordForm(@PathVariable @NotBlank String passwordVerifica
String newDomain = domain;
if (activeProfile.equals(SpringProfile.PROD.getProfile())) {
// domain의 http를 https로 바꾼다.
newDomain = domain.replace("http://", "https://");
newDomain += ":" + port;
newDomain = domain.replace("http", "https");
}
// Profile이 local면, domain 끝에 포트를 붙여준다.
else if (activeProfile.equals(SpringProfile.LOCAL.getProfile())) {
Expand Down Expand Up @@ -110,8 +109,7 @@ public String changePassword(@PathVariable @NotBlank String passwordVerification
String newDomain = domain;
if (activeProfile.equals(SpringProfile.PROD.getProfile())) {
// domain의 http를 https로 바꾼다.
newDomain = domain.replace("http://", "https://");
newDomain += ":" + port;
newDomain = domain.replace("http", "https");
}
// Profile이 local면, domain 끝에 포트를 붙여준다.
else if (activeProfile.equals(SpringProfile.LOCAL.getProfile())) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public void sendChangePasswordVerificationEmail(String email) throws NoSuchMembe
String newDomain = domain;
if (activeProfile.equals(SpringProfile.PROD.getProfile())) {
// domain의 http를 https로 바꾼다.
newDomain = domain.replace("http://", "https://");
newDomain = domain.replace("http", "https");
}
// Profile이 local면, domain 끝에 포트를 붙여준다.
else if (activeProfile.equals(SpringProfile.LOCAL.getProfile())) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public Long joinTemporaryMember(@Valid MemberSignUpForm memberSignUpForm) throws
String newDomain = domain;
if (activeProfile.equals(SpringProfile.PROD.getProfile())) {
// domain의 http를 https로 바꾼다.
newDomain = domain.replace("http://", "https://");
newDomain = domain.replace("http", "https");
}
// Profile이 local면, domain 끝에 포트를 붙여준다.
else if (activeProfile.equals(SpringProfile.LOCAL.getProfile())) {
Expand Down Expand Up @@ -132,7 +132,7 @@ public void resendVerificationEmailById(long id) throws NoSuchTemporaryMemberExc
String newDomain = domain;
if (activeProfile.equals(SpringProfile.PROD.getProfile())) {
// domain의 http를 https로 바꾼다.
newDomain = domain.replace("http://", "https://");
newDomain = domain.replace("http", "https");
}
// Profile이 local면, domain 끝에 포트를 붙여준다.
else if (activeProfile.equals(SpringProfile.LOCAL.getProfile())) {
Expand Down Expand Up @@ -167,7 +167,7 @@ public void resendVerificationEmailByEmail(String email) throws NoSuchTemporaryM
String newDomain = domain;
if (activeProfile.equals(SpringProfile.PROD.getProfile())) {
// domain의 http를 https로 바꾼다.
newDomain = domain.replace("http://", "https://");
newDomain = domain.replace("http", "https");
}
// Profile이 local면, domain 끝에 포트를 붙여준다.
else if (activeProfile.equals(SpringProfile.LOCAL.getProfile())) {
Expand Down

0 comments on commit 29681fa

Please sign in to comment.