<template>
  <div>
    <accountCenter-header/>
    <encryptedSetting-secondStep/>
  </div>
</template>
<script>
  import AccountCenterHeader from '~components/default/AccountCenterHeader.vue'
  import EncryptedSettingSecondStep from '~components/encrypted-setting/EncryptedSettingSecondStep.vue'
  export default {
    layout: 'default',
    components: {
      AccountCenterHeader,
      EncryptedSettingSecondStep
    },
    mounted () {
      if (this.$store.state.option.isMobile) {
        this.$router.push('/encrypted-setting/encryptedSetting?token=' + this.$route.query.token)
      }
    }
  }
</script>
