2018-05-27 06:17:02 +00:00
|
|
|
<template>
|
2018-06-12 05:36:43 +00:00
|
|
|
<div>
|
|
|
|
<navigation/>
|
|
|
|
<div class="container animate fadein mt-6">
|
2018-06-16 23:25:26 +00:00
|
|
|
<modal :show="modalVisible" v-on:close="modalVisible = false">
|
|
|
|
<TwoFactorAuthentication/>
|
|
|
|
</modal>
|
2018-06-12 05:36:43 +00:00
|
|
|
<flash container="mt-6 mb-2 mx-4"/>
|
2018-06-16 23:43:52 +00:00
|
|
|
<div class="flex flex-wrap">
|
|
|
|
<div class="w-full md:w-1/2">
|
|
|
|
<div class="m-4 md:ml-0">
|
|
|
|
<update-email class="mb-8"/>
|
|
|
|
<div class="content-box text-center">
|
|
|
|
<button class="btn btn-green btn-sm" type="submit" v-on:click="modalVisible = true">Configure 2-Factor Authentication</button>
|
|
|
|
</div>
|
2018-06-16 23:25:26 +00:00
|
|
|
</div>
|
2018-06-12 05:36:43 +00:00
|
|
|
</div>
|
2018-06-16 23:43:52 +00:00
|
|
|
<div class="w-full md:w-1/2">
|
|
|
|
<change-password class="m-4 md:mr-0"/>
|
|
|
|
</div>
|
2018-06-12 05:36:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-05-27 06:17:02 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2018-06-12 05:36:43 +00:00
|
|
|
import Navigation from '../core/Navigation';
|
|
|
|
import Flash from '../Flash';
|
|
|
|
import UpdateEmail from './account/UpdateEmail';
|
2018-06-16 23:25:26 +00:00
|
|
|
import ChangePassword from './account/ChangePassword';
|
|
|
|
import Modal from '../core/Modal';
|
|
|
|
import TwoFactorAuthentication from './account/TwoFactorAuthentication';
|
2018-06-12 05:36:43 +00:00
|
|
|
|
2018-05-27 06:17:02 +00:00
|
|
|
export default {
|
2018-06-12 05:36:43 +00:00
|
|
|
name: 'account',
|
2018-06-16 23:25:26 +00:00
|
|
|
components: {TwoFactorAuthentication, Modal, ChangePassword, UpdateEmail, Flash, Navigation},
|
|
|
|
data: function () {
|
|
|
|
return {
|
|
|
|
modalVisible: false,
|
|
|
|
};
|
2018-06-12 05:36:43 +00:00
|
|
|
},
|
2018-05-27 06:17:02 +00:00
|
|
|
};
|
|
|
|
</script>
|