<template>
  <BaseAuth
    :config="settings"
    enable-field="AUTH_PASSKEY"
    v-on="$listeners"
  />
</template>

<script>
import BaseAuth from './Base'

export default {
  name: 'Passkey',
  components: {
    BaseAuth
  },
  data() {
    return {
      settings: {
        url: '/api/v1/settings/setting/?category=passkey',
        hasDetailInMsg: false,
        fields: [
          'AUTH_PASSKEY', 'FIDO_SERVER_ID', 'FIDO_SERVER_NAME'
        ],
        fieldsMeta: {
          'FIDO_SERVER_ID': {
            placeholder: 'js.example.org'
          }
        },
        submitMethod() {
          return 'patch'
        }
      }
    }
  },
  methods: {}
}
</script>

<style scoped>

</style>
