Cut & Paste Login and password script II
|
Description: This is a variation of the original Login and Password script that will take users to a designated URL only if the entered username and password is correct. The user is given 3 chances to enter the correct combination. You can define more than 1 set of valid username and password combinations.
Example: (in demo, a valid username is "Philip", with password being "Password1")
Directions: Simply insert the below into the <body> section of the login page:
Configuring the script
To change the login/passwords, modify the arrays unArray
and pwArray
inside the script.
JavaScript Tools:
Site Info