Skip to content
Permalink
Browse files
Update login.html
  • Loading branch information
nguyent18 committed Nov 26, 2021
1 parent 04a6ef2 commit 915d9bd6135fd7997f9411f313e17c3716be965a
Showing 1 changed file with 2 additions and 2 deletions.
@@ -3,7 +3,7 @@
{% block title %}
Login page
{% endblock %}

<script>
var users = new Array("customer1", "customer2", "admin");
var passwords = new Array("p455w0rd", "p455w0rd", "p455w0rd");
function check_pass(user, pass) <!-- creating a function in java script that checks if the password is correct and redirects users to the correct website -->
@@ -30,7 +30,7 @@ function check()
}
}
}
</script>
</script>
{% block content %}
<title>Bookstore</title>
</head>

0 comments on commit 915d9bd

Please sign in to comment.