Hacker News new | past | comments | ask | show | jobs | submit login

  //TODO replace password and username with user input
  password = "johnsmithAdminpass1234"
  username = "johnsmith01"
  login(username, password)
If your test-DB is the same as your live one and username and password are real admin passwords, then you are in trouble. It's horrible and you shouldn't do this, but it happens.

Edit: formatting




Fortunately, it can be fixed just by changing your passwords, which you should do from time to time anyway.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: