]> source.dussan.org Git - nextcloud-server.git/commitdiff
chore: Migrate to new @nextcloud/vue API
authorChristopher Ng <chrng8@gmail.com>
Mon, 28 Aug 2023 18:52:38 +0000 (11:52 -0700)
committerChristopher Ng <chrng8@gmail.com>
Tue, 29 Aug 2023 18:05:51 +0000 (11:05 -0700)
Signed-off-by: Christopher Ng <chrng8@gmail.com>
apps/settings/src/components/PasswordSection.vue
apps/settings/src/components/Users/NewUserModal.vue
apps/theming/src/components/admin/TextField.vue
core/src/components/login/LoginForm.vue
core/src/components/login/PasswordLessLoginForm.vue
core/src/components/login/ResetPassword.vue

index 201fdc2e3cb8a65e18e798619622f6de8bfcbbd5..aa0c46ec1319f59f64de8dab1aca9526bf530ff9 100644 (file)
@@ -21,7 +21,6 @@
                <form id="passwordform" method="POST" @submit.prevent="changePassword">
                        <NcPasswordField id="old-pass"
                                :label="t('settings', 'Current password')"
-                               :label-visible="true"
                                name="oldpassword"
                                :value.sync="oldPass"
                                autocomplete="current-password"
@@ -30,7 +29,6 @@
 
                        <NcPasswordField id="new-pass"
                                :label="t('settings', 'New password')"
-                               :label-visible="true"
                                :value.sync="newPass"
                                :maxlength="469"
                                autocomplete="new-password"
index 00ce7c92600dd3f1eef206509dbf10886990c043..a93d3fc329b43decdd68adc26e5cea73d2a1b8e3 100644 (file)
@@ -35,7 +35,6 @@
                                :value.sync="newUser.id"
                                :disabled="settings.newUserGenerateUserID"
                                :label="usernameLabel"
-                               :label-visible="true"
                                autocapitalize="none"
                                autocomplete="off"
                                autocorrect="off"
@@ -45,7 +44,6 @@
                                data-test="displayName"
                                :value.sync="newUser.displayName"
                                :label="t('settings', 'Display name')"
-                               :label-visible="true"
                                autocapitalize="none"
                                autocomplete="off"
                                autocorrect="off" />
@@ -62,7 +60,6 @@
                                :maxlength="469"
                                aria-describedby="password-email-hint"
                                :label="newUser.mailAddress === '' ? t('settings', 'Password (required)') : t('settings', 'Password')"
-                               :label-visible="true"
                                autocapitalize="none"
                                autocomplete="new-password"
                                autocorrect="off"
@@ -73,7 +70,6 @@
                                :value.sync="newUser.mailAddress"
                                aria-describedby="password-email-hint"
                                :label="newUser.password === '' || settings.newUserRequireEmail ? t('settings', 'Email (required)') : t('settings', 'Email')"
-                               :label-visible="true"
                                autocapitalize="none"
                                autocomplete="off"
                                autocorrect="off"
index ec5ed94dc09d772ecb77fdabe04fe2998f9f1eac..5e96f45a95be7668538c74777762347e2de6b416 100644 (file)
@@ -24,7 +24,6 @@
        <div class="field">
                <NcTextField :value.sync="localValue"
                        :label="displayName"
-                       :label-visible="true"
                        :placeholder="placeholder"
                        :type="type"
                        :maxlength="maxlength"
index f4307c5ff16f8fbc546ba2784918d129d2eecd22..7841edc50744026cecc02879ef8b378f2c5c9ed0 100644 (file)
@@ -56,7 +56,6 @@
                        <NcTextField id="user"
                                ref="user"
                                :label="t('core', 'Account name or email')"
-                               :label-visible="true"
                                name="user"
                                :value.sync="user"
                                :class="{shake: invalidPassword}"
@@ -70,7 +69,6 @@
                        <NcPasswordField id="password"
                                ref="password"
                                name="password"
-                               :label-visible="true"
                                :class="{shake: invalidPassword}"
                                :value.sync="password"
                                :spellchecking="false"
index 0699fd6d230e307fe98a74d35d7796cde1684aea..dbc4fdae6959fdc48ef7f3b16ac5eb3d6f887bf6 100644 (file)
@@ -10,7 +10,6 @@
                                :value="user"
                                :autocomplete="autoCompleteAllowed ? 'on' : 'off'"
                                :error="!validCredentials"
-                               :label-visible="true"
                                :label="t('core', 'Username or email')"
                                :placeholder="t('core', 'Username or email')"
                                :helper-text="!validCredentials ? t('core', 'Your account is not setup for passwordless login.') : ''"
index dc979f9bceda8fa0a95a81fb37c03d64ef2e6b9d..e1d66daa4aa81486c59ca74c9b4c668c600cd074 100644 (file)
@@ -27,7 +27,6 @@
                                name="user"
                                autocapitalize="off"
                                :label="t('core', 'Account name or email')"
-                               :label-visible="true"
                                required
                                @change="updateUsername" />
                        <LoginButton :value="t('core', 'Reset password')" />