From b6eb469ac4c447efb3c93ca4e78eab15a3fd1726 Mon Sep 17 00:00:00 2001 From: F1xGOD <105874129+F1xGOD@users.noreply.github.com> Date: Wed, 21 Feb 2024 18:16:44 -0500 Subject: [PATCH] asc --- account.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/account.html b/account.html index 407b5f18..e66add56 100644 --- a/account.html +++ b/account.html @@ -292,13 +292,17 @@ if(document.getElementById("inputPassword").value==""||document.getElementById("inputPassword").value==atob(user.password)){if(savess==null){savess=false}}else{ if(document.getElementById("inputPassword")==document.getElementById("inputCPassword")){ actdata.accounts[id].details.password=document.getElementById("inputPassword").value - setCookie("passwordcred",document.getElementById("inputPassword").value)}else{savess==false; reasonf="Password Don't Match!"} + setCookie("passwordcred",document.getElementById("inputPassword").value) savess=true + }else{savess==false; reasonf="Password Don't Match!"} + } if(document.getElementById("inputEmailAddress").value==""||document.getElementById("inputEmailAddress").value==userd.email){if(savess==null){savess=false}}else{ if(validateEmail(document.getElementById("inputEmailAddress").value)==true){ - actdata.accounts[id].details.email=document.getElementById("inputEmailAddress").value}else{savess==false; reasonf="The Email You Entered Is Invalid!"} + actdata.accounts[id].details.email=document.getElementById("inputEmailAddress").value savess=true + }else{savess==false; reasonf="The Email You Entered Is Invalid!"} + } if(document.getElementById("inputName").value==""||document.getElementById("inputName").value==userd.aname){if(savess==null){savess=false}}else{ actdata.accounts[id].details.aname=document.getElementById("inputName").value