Guest User

Untitled

a guest
Oct 19th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. <SCRIPT LANGUAGE="JavaScript">
  2. function LogIn(){
  3. loggedin=false;
  4. username="";
  5. password="";
  6. username=prompt("Username:","");
  7. username=username.toLowerCase();
  8. password=prompt("Password:","");
  9. password=password.toLowerCase();
  10. if (username=="cr5315" && password=="OBFUSCATED") {
  11. loggedin=true;
  12. window.location="devportal.html";
  13. }
  14. if (username=="j2cool" && password=="OBFUSCATED") {
  15. loggedin=true;
  16. window.location="devportal.html";
  17. }
  18. if (username=="remicks" && password=="OBFUSCATED" {
  19. window.location="devportal.html";
  20. }
  21.  
  22. if (loggedin==false) {
  23. alert("Invalid login! You're not trying to snoop, are you?");
  24. }
  25. }
  26. </SCRIPT>
Add Comment
Please, Sign In to add comment