Skip to content

Commit

Permalink
done
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadminhaj786 committed Jul 2, 2023
1 parent aac43ae commit 9aef673
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function login(){
if (user !== undefined) {
alert("successfully login")
window.location.replace('./home.html')
localStorage.setItem('lognUser',JSON.stringify(user))
} else {
console.log("credentials error")
alert("email or password does not match!")
Expand Down

0 comments on commit 9aef673

Please sign in to comment.