diff --git a/app/src/Download.vue b/app/src/Download.vue index 7378eb9b..143e22ad 100644 --- a/app/src/Download.vue +++ b/app/src/Download.vue @@ -188,7 +188,11 @@ this.error = e.toString(); } } else if (xhr.status === 401) { - this.needsPassword = true; + if(this.needsPassword) { + this.passwordWrong = true; + } else { + this.needsPassword = true; + } this.loading = false; } else { this.error = `${ xhr.status } ${ xhr.statusText }: ${ xhr.responseText }`; diff --git a/public/assets/styles.css b/public/assets/styles.css index 21ea4fe4..b6d8aea3 100644 --- a/public/assets/styles.css +++ b/public/assets/styles.css @@ -345,4 +345,8 @@ h1 .fa-icon { .table > tbody > tr > td { border-top: 1px solid rgba(79,84,92,0.48); } + + .text-danger { + color: #ff4c49; + } }