Skip to content

Commit 0ef205b

Browse files
fix #88
1 parent e006012 commit 0ef205b

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ services:
1818

1919
maildev:
2020
container_name: wb-maildev
21-
image: soulteary/maildev:latest
21+
image: maildev/maildev
2222
ports:
2323
- "1080:1080"
2424
- "1025:1025"

src/main/kotlin/br/com/webbudget/application/controllers/administration/UserController.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ import java.util.UUID
2929
@RequestMapping("/api/administration/users")
3030
class UserController(
3131
private val userMapper: UserMapper,
32-
private val userRepository: UserRepository,
33-
private val userService: UserService
32+
private val userService: UserService,
33+
private val userRepository: UserRepository
3434
) {
3535

3636
@GetMapping

src/main/kotlin/br/com/webbudget/domain/services/administration/AccountActivationService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class AccountActivationService(
4040
accountActivationAttemptRepository.merge(activationAttempt)
4141

4242
val formatter = DateTimeFormatter.ofPattern("dd/MM/yyyy HH:mm")
43-
val recoverPasswordUrl = "${frontendUrl}/login/account-activation" +
43+
val recoverPasswordUrl = "${frontendUrl}/auth/account-activation" +
4444
"?token=${activationAttempt.token}&email=${user.email}"
4545

4646
val mailMessage = AccountActivationEmail(user)

src/main/kotlin/br/com/webbudget/domain/services/administration/RecoverPasswordService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class RecoverPasswordService(
4141
passwordRecoverAttemptRepository.persist(recoverAttempt)
4242

4343
val formatter = DateTimeFormatter.ofPattern("dd/MM/yyyy HH:mm")
44-
val recoverPasswordUrl = "${frontendUrl}/login/recover-password" +
44+
val recoverPasswordUrl = "${frontendUrl}/auth/recover-password" +
4545
"?token=${recoverAttempt.token}&email=${user.email}"
4646

4747
val mailMessage = RecoverPasswordEmail(user)

src/main/resources/config/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ web-budget:
6565
mail:
6666
reply-to-address: ${MAIL_REPLY_TO_ADDRESS:noreply@webbudget.com.br}
6767
default-from-address: ${MAIL_DEFAULT_FROM_ADDRESS:noreply@webbudget.com.br}
68-
logo-url: ${web-budget.frontend-url}/webbudget-logo.png
68+
logo-url: ${web-budget.frontend-url}/logo.png

0 commit comments

Comments
 (0)