Permalink
Browse files

Merge branch 'master' of https://github.com/stuycs-ml7/project1-pd7

  • Loading branch information...
2 parents 3b6b475 + 15c8cc2 commit ec8dcac4a3c80ef6bc1df65fbdcfc7dde7d79160 @dkurk dkurk committed Oct 11, 2012
Showing with 5 additions and 5 deletions.
  1. +1 −1 7UP/apple.py
  2. +2 −2 GROUP_1/app.py
  3. +2 −2 GROUP_1/app.py~
View
@@ -99,4 +99,4 @@ def logout():
if __name__=="__main__":
app.debug=True # remove this line to turn off debugging
- app.run() # connect to localhost:5000 or http://127.0.0.1:5000
+ app.run(port=7007) # connect to localhost:5000 or http://127.0.0.1:5000
View
@@ -7,7 +7,7 @@
app.secret_key="nothing"
#UserEmail=""
-#logged_in = false
+#logged_in = False
@app.route("/",methods=['GET','POST'])
def login():
@@ -21,7 +21,7 @@ def login():
UserEmail = request.form["user"]
UserCode = request.form["idnum"]
if data.checkLogin (UserEmail, UserCode):
- logged_in = true
+ logged_in = True
return redirect(url_for('home'))
else:
error = "Member name and password were not found. Please try again."
View
@@ -7,7 +7,7 @@ app = Flask(__name__)
app.secret_key="nothing"
#UserEmail=""
-#logged_in = false
+#logged_in = False
@app.route("/",methods=['GET','POST'])
def login():
@@ -21,7 +21,7 @@ def login():
UserEmail = request.form["user"]
UserCode = request.form["idnum"]
if data.checkLogin (UserEmail, UserCode):
- logged_in = true
+ logged_in = True
return redirect(url_for('home'))
else:
error = "Member name and password were not found. Please try again."

0 comments on commit ec8dcac

Please sign in to comment.