diff --git a/core/features/Authentication/LogIn/ViewModels/LoginViewModel.swift b/core/features/Authentication/LogIn/ViewModels/LoginViewModel.swift index 737af46..e11cd05 100644 --- a/core/features/Authentication/LogIn/ViewModels/LoginViewModel.swift +++ b/core/features/Authentication/LogIn/ViewModels/LoginViewModel.swift @@ -39,7 +39,7 @@ class LoginViewModel: ObservableObject { self.viewModel.showAuthenticationView = false case let .failure(error): - self.message = "\(error.localizedDescription)" + self.message = "Wrong credentials!" self.showAlert = true } } diff --git a/core/features/Authentication/Register/ViewModels/RegisterViewModel.swift b/core/features/Authentication/Register/ViewModels/RegisterViewModel.swift index fc63f50..2e278ff 100644 --- a/core/features/Authentication/Register/ViewModels/RegisterViewModel.swift +++ b/core/features/Authentication/Register/ViewModels/RegisterViewModel.swift @@ -46,7 +46,7 @@ class RegisterViewModel: ObservableObject { self.viewModel.showAuthenticationView = false case let .failure(error): - self.message = "\(error.localizedDescription)" + self.message = "The email-address is already taken!" self.showAlert = true } }