daily pastebin goal
86%
SHARE
TWEET

Untitled

a guest Apr 26th, 2018 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @route('/auth', method='GET')
  2. def home():
  3.     login = request.forms.get('login')
  4.     paswd = request.forms.get('pass')
  5.     check_credentials(login, paswd)
  6.    
  7. def check_credentials(user, pw):
  8.     username = "dark"
  9.     password = "dark"
  10.     if pw == password and user == username:
  11.         return template('index.html')
  12.     return template('static/templete/auth.html')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top