<template>
    <div class="row">
        <div class="col">
            <div class="row">
                <div class="col">
                    <div class="row m-b-10">
                        <div class="col">
                            <h3 class="all-caps m-b-5 bold no-margin">Reset Password</h3>
                            <p>A reset password link will send to your email account</p>
                        </div>
                    </div>
                    <div class="row m-b-5 animate__animated animate__fadeInUpBig animate__fast" v-if="error">
                        <div class="col">
                            <small class="bold fs-10 text-danger">{{error}}</small>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col p-r-5">
                            <div class="btn btn-sm btn-default bg-master-lightest btn-block b-rad-none" data-dismiss="modal">Cancel</div>
                        </div>
                        <div class="col p-l-5">
                            <div class="btn btn-sm btn-success btn-block b-rad-none" @click="submit(route('api.account.authentication.password.forget'), 'post', section, true, true)">Confirm</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>
<script>
    import resetPasswordFormValidation from '../../../general/mixins/accounts/validation/resetPasswordFormValidation';
    export default {
        data(){
            return {
                error: '',
                parameters: {
                    email: this.$store.getters.getUserEmail,
                }
            }
        },
        mixins: [resetPasswordFormValidation]

    }
</script>