Update UserEdit.js
This commit is contained in:
@@ -96,11 +96,11 @@ Vue.component("UserEdit", {
|
||||
<div v-show="!collapsedSections.security" class="user-form-grid-half">
|
||||
<tt-card>
|
||||
<div class="password-generation-grid">
|
||||
<tt-input label="Neues Passwort" v-model="password.new" :type="passwordFieldType" sm/>
|
||||
<tt-input label="Neues Passwort" v-model="password.new" :type="passwordFieldType" :additional-props="{ autocomplete: 'new-password' }" sm/>
|
||||
<tt-button icon="fas fa-sync-alt" @click="generatePassword()" additional-class="btn-outline-secondary" sm title="Passwort generieren"/>
|
||||
<tt-button :icon="passwordFieldType === 'password' ? 'fas fa-eye' : 'fas fa-eye-slash'" @click="togglePasswordVisibility" additional-class="btn-outline-secondary" sm title="Passwort anzeigen"/>
|
||||
</div>
|
||||
<tt-input label="Passwort wiederholen" v-model="password.repeat" type="password" sm/>
|
||||
<tt-input label="Passwort wiederholen" v-model="password.repeat" type="password" :additional-props="{ autocomplete: 'new-password' }" sm/>
|
||||
</tt-card>
|
||||
<tt-card v-if="!isNewUser">
|
||||
<label>API Key</label>
|
||||
@@ -545,4 +545,4 @@ Vue.component("UserEdit", {
|
||||
};
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user