Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a5a6b1f3
authored
Jan 23, 2013
by
x
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Log shibboleth logins
parent
8c181d28
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
school/views.py
+5
-0
No files found.
school/views.py
View file @
a5a6b1f3
...
...
@@ -20,6 +20,9 @@ from django.views.decorators.http import *
from
django.views.generic
import
*
from
one.models
import
*
import
django.contrib.auth
as
auth
import
logging
logger
=
logging
.
getLogger
(
__name__
)
SHIB_ATTRIBUTE_MAP
=
{
...
...
@@ -73,5 +76,7 @@ def login(request):
user
.
backend
=
'django.contrib.auth.backends.ModelBackend'
auth
.
login
(
request
,
user
)
logger
.
warning
(
"Shib login with
%
s"
%
request
.
META
)
return
redirect
(
'/'
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment