diff --git a/jm2l/auth.py b/jm2l/auth.py index c3332d3..135035b 100644 --- a/jm2l/auth.py +++ b/jm2l/auth.py @@ -3,6 +3,7 @@ from pyramid.view import view_config from pyramid.security import remember, forget from pyramid.httpexceptions import HTTPFound from .models import User, DBSession +import datetime @view_config(route_name='auth', match_param="action=login", renderer="jm2l:templates/login.mako") def login(request):