HUGE REFACTOR / CLEANUP

if there is a issue it's probably something in here that was changed
This commit is contained in:
2021-09-28 20:19:44 +00:00
parent 51eddfede9
commit d0afdd9855
238 changed files with 3127 additions and 8614 deletions

View File

@@ -62,10 +62,9 @@
</template>
<script>
/* Xeslint-disable */
export default {
async created() {
let searchParams = new URLSearchParams(window.location.search);
const searchParams = new URLSearchParams(window.location.search);
//home-reset?rc={ResetCode}&tr={EffectiveTranslationId}&lg={loginName}
this.obj.passwordResetCode = searchParams.get("rc");
this.obj.loginName = searchParams.get("lg");
@@ -114,14 +113,11 @@ export default {
}
},
async submit() {
let vm = this;
const vm = this;
if (vm.canSave) {
vm.formState.loading = true;
let url = "auth/reset-password";
try {
let res = await window.$gz.api.upsert(url, {
const res = await window.$gz.api.upsert("auth/reset-password", {
PasswordResetCode: vm.obj.passwordResetCode,
Password: vm.obj.confirmPassword
});