Skip to content

Commit

Permalink
asc
Browse files Browse the repository at this point in the history
  • Loading branch information
F1xGOD authored Feb 21, 2024
1 parent 8b564f1 commit b6eb469
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions account.html
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b6eb469

Please sign in to comment.