Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Django Auth Lti
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marcel Heijink
Django Auth Lti
Commits
640d4c52
Commit
640d4c52
authored
11 years ago
by
Colin Murtaugh
Browse files
Options
Downloads
Patches
Plain Diff
some cleanup; bumped the version to 0.2
parent
01b896dc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
django_auth_lti/backends.py
+0
-1
0 additions, 1 deletion
django_auth_lti/backends.py
django_auth_lti/middleware.py
+1
-1
1 addition, 1 deletion
django_auth_lti/middleware.py
setup.py
+1
-1
1 addition, 1 deletion
setup.py
with
2 additions
and
3 deletions
django_auth_lti/backends.py
+
0
−
1
View file @
640d4c52
...
...
@@ -33,7 +33,6 @@ class LTIAuthBackend(ModelBackend):
if
request_key
is
None
:
logger
.
error
(
"
Request doesn
'
t contain an oauth_consumer_key; can
'
t continue.
"
)
#raise PermissionDenied
return
None
secret
=
oauth_creds
.
get
(
request_key
,
None
)
...
...
This diff is collapsed.
Click to expand it.
django_auth_lti/middleware.py
+
1
−
1
View file @
640d4c52
...
...
@@ -49,7 +49,7 @@ class LTIAuthMiddleware(object):
auth
.
login
(
request
,
user
)
else
:
# User could not be authenticated! Bail!
logger
.
error
(
'
user could not be authenticated;
bail with an error message
'
)
logger
.
error
(
'
user could not be authenticated;
let the request continue in case another auth plugin is configured
'
)
#return HttpResponse('Authentication error! Sorry!')
#raise PermissionDenied()
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
640d4c52
...
...
@@ -9,7 +9,7 @@ os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup
(
name
=
'
django-auth-lti
'
,
version
=
'
0.
1
'
,
version
=
'
0.
2
'
,
packages
=
find_packages
(),
include_package_data
=
True
,
license
=
'
TBD License
'
,
# example license
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment