Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
szaimen committed Jan 11, 2024
1 parent 5f6d971 commit f2e7af7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions apps/settings/src/components/WebAuthn/AddDevice.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@
<div v-else-if="step === RegistrationSteps.NAMING"
class="new-webauthn-device">
<span class="icon-loading-small webauthn-loading" />
<NcInputField v-model="name"
:label="t('settings', 'Name your device')"
@:keyup.enter="submit"/>
<input v-model="name"
type="text"
:placeholder="t('settings', 'Name your device')"
@:keyup.enter="submit">
<NcButton @click="submit" type="primary">
{{ t('settings', 'Add') }}
</NcButton>
Expand All @@ -62,7 +63,6 @@
<script>
import { confirmPassword } from '@nextcloud/password-confirmation'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcInputField from '@nextcloud/vue/dist/Components/NcInputField.js'
import '@nextcloud/password-confirmation/dist/style.css'

import logger from '../../logger.js'
Expand All @@ -88,7 +88,6 @@ export default {

components: {
NcButton,
NcInputField,
},

props: {
Expand Down

0 comments on commit f2e7af7

Please sign in to comment.