Minor UI improvements
This commit is contained in:
@@ -294,7 +294,7 @@
|
||||
v-model="editForm['exit-timeout']" />
|
||||
<div id="exitTimeoutHelp" class="form-text">{{ $t('apps.exit_timeout_desc') }}</div>
|
||||
</div>
|
||||
<div class="env-hint alert alert-info">
|
||||
<div class="env-hint alert alert-info overflow-auto">
|
||||
<div class="form-text">
|
||||
<h4>{{ $t('apps.env_vars_about') }}</h4>
|
||||
{{ $t('apps.env_vars_desc') }}
|
||||
|
||||
@@ -69,7 +69,11 @@
|
||||
this.success = true;
|
||||
location.href = './';
|
||||
} else {
|
||||
throw new Error(`Server returned ${res.status}`);
|
||||
if (res.status === 401) {
|
||||
throw new Error('Please check your username and password')
|
||||
} else {
|
||||
throw new Error(`Server returned ${res.status}`);
|
||||
}
|
||||
}
|
||||
}).catch((e) => {
|
||||
this.error = `Login failed: ${e.message}`;
|
||||
|
||||
Reference in New Issue
Block a user