Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Roman Karwacik
website
Commits
d6827209
Commit
d6827209
authored
Jul 28, 2018
by
Julian Rother
Browse files
Yet another small auth handler fix
parent
424ba500
Changes
1
Show whitespace changes
Inline
Side-by-side
server.py
View file @
d6827209
...
...
@@ -406,7 +406,7 @@ def auth(): # For use with nginx auth_request
LEFT JOIN perm ON ((lectures.id = perm.lecture_id OR courses.id = perm.course_id) AND NOT perm.deleted)
WHERE lectures.id = ?
AND (courses.visible AND lectures.visible)
ORDER BY perm.video_id DESC, perm.lecture_id DESC, perm.course_id DESC'''
,
int
(
handle
[
2
:]
))
ORDER BY perm.video_id DESC, perm.lecture_id DESC, perm.course_id DESC'''
,
int
(
handle
))
else
:
perms
=
query
(
'''SELECT lectures.id AS lecture, perm.*
FROM streams
...
...
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