views/login.py cleaned up
This commit is contained in:
parent
3ccf641756
commit
bb1858fe88
@ -1,13 +1,11 @@
|
|||||||
from datetime import date, timedelta
|
|
||||||
import uuid
|
|
||||||
from pyramid.httpexceptions import HTTPFound
|
from pyramid.httpexceptions import HTTPFound
|
||||||
from pyramid.response import Response
|
from pyramid.response import Response
|
||||||
from pyramid.security import authenticated_userid, remember, forget
|
from pyramid.security import remember, forget
|
||||||
|
|
||||||
from pyramid.view import view_config
|
from pyramid.view import view_config
|
||||||
import transaction
|
import transaction
|
||||||
from brewman import groupfinder
|
from brewman import groupfinder
|
||||||
from brewman.models.auth import Role, User, Client
|
from brewman.models.auth import User, Client
|
||||||
|
|
||||||
@view_config(route_name='logout')
|
@view_config(route_name='logout')
|
||||||
def logout(request):
|
def logout(request):
|
||||||
|
Loading…
Reference in New Issue
Block a user