Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
djnro
Commits
0ff75748
Commit
0ff75748
authored
Nov 21, 2012
by
Leonidas Poulopoulos
Browse files
Added HTTP_MAIL in user mail lookup
parent
c239b5d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
edumanage/views.py
View file @
0ff75748
...
...
@@ -964,6 +964,8 @@ def user_login(request):
lastname
=
request
.
META
[
'HTTP_SHIB_PERSON_SURNAME'
]
if
'mail'
in
request
.
META
:
mail
=
request
.
META
[
'mail'
]
elif
(
'HTTP_MAIL'
in
request
.
META
):
mail
=
request
.
META
[
'HTTP_MAIL'
]
elif
(
'HTTP_SHIB_INETORGPERSON_MAIL'
in
request
.
META
):
mail
=
request
.
META
[
'HTTP_SHIB_INETORGPERSON_MAIL'
]
else
:
...
...
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