encryption: do not allow password and hint to be the same
This commit is contained in:
@@ -379,11 +379,11 @@ defineExpose({
|
||||
<fieldset :disabled="busy">
|
||||
<input style="display: none;" type="submit"/>
|
||||
|
||||
<div class="warning-label">{{ $t('backups.configureBackupStorage.encryptionDescription') }}</div>
|
||||
<div class="error-label" v-if="formError.generic">{{ formError.generic }}</div>
|
||||
<FormGroup>
|
||||
<label for="encryptionPassswordInput">{{ $t('backups.configureBackupStorage.encryptionPassword') }} <sup><a href="https://docs.cloudron.io/backups/#encryption" class="help" target="_blank"><i class="fa fa-question-circle"></i></a></sup></label>
|
||||
<PasswordInput id="encryptionPassswordInput" v-model="encryptionPassword" :placeholder="$t('backups.configureBackupStorage.encryptionPasswordPlaceholder')" required />
|
||||
<div class="warning-label">{{ $t('backups.configureBackupStorage.encryptionDescription') }}</div>
|
||||
<div class="error-label" v-if="formError.password">{{ formError.password }}</div>
|
||||
</FormGroup>
|
||||
<FormGroup>
|
||||
|
||||
Reference in New Issue
Block a user