projects
/
webpysample.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AƱadido sistema simple de login
[webpysample.git]
/
view
/
index.py
diff --git
a/view/index.py
b/view/index.py
index
b0718c9
..
1346f0b
100644
(file)
--- a/
view/index.py
+++ b/
view/index.py
@@
-1,7
+1,9
@@
import web
import db
+import login
class Index:
+ @login.authenticated
def GET(self, *args):
orm = web.ctx.orm
session = web.ctx.session