diff --git a/src/components/Login.vue b/src/components/Login.vue index de3e3a1..938bbea 100644 --- a/src/components/Login.vue +++ b/src/components/Login.vue @@ -104,7 +104,7 @@ setTimeout(() => { this.showError = false; this.errorMessage = ''; - }, 3000); + }, 4000); }, login(){ var baseURL = this.baseURL; @@ -130,7 +130,7 @@ } else if (err.response.status === 400) { this.showErrorMessage('Your login or password is not good. Do you have an account ?'); } else { - this.showErrorMessage('An error appears, Sorry for the inconvenience.') + this.showErrorMessage('Oops! Something went wrong. Retry in a few minutes.') } }); } diff --git a/src/components/Register.vue b/src/components/Register.vue index 70b5b00..35612af 100644 --- a/src/components/Register.vue +++ b/src/components/Register.vue @@ -2,41 +2,24 @@ .card-block { position: relative; } - - .alert { - position: absolute; - z-index: 20; - width: 100%; - top: 0; - left: 0; - } - - .fade-enter-active, .fade-leave-active { - transition: opacity .5s - } - - .fade-enter, .fade-leave-active { - opacity: 0 - }