Permalink
Browse files

put localhost bypass back in

  • Loading branch information...
1 parent 75ccb02 commit e516a693cb690dfbd0ac0967bbdeeed9ac7a51ec @drytoastman committed May 7, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 web/nwrsc/controllers/admin.py
View
6 web/nwrsc/controllers/admin.py
@@ -84,9 +84,9 @@ def __before__(self):
def _checkauth(self, eventid, event):
- #if self.srcip == '127.0.0.1':
- # c.isAdmin = True
- # return
+ if self.srcip == '127.0.0.1':
+ c.isAdmin = True
+ return
if event is None and eventid != 's':
c.text = "<h3>No such event for %s</h3>" % eventid

0 comments on commit e516a69

Please sign in to comment.