Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
J
jitsi-cert-auth
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Hartig
jitsi-cert-auth
Commits
aa8a8fd4
Commit
aa8a8fd4
authored
2 years ago
by
Jan Hartig
Browse files
Options
Downloads
Patches
Plain Diff
Fix: Return 401 error on unmatched certs
parent
e19a74d9
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!15
Fix exception on unmatched certs
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
server.py
+1
-1
1 addition, 1 deletion
server.py
with
1 addition
and
1 deletion
server.py
+
1
−
1
View file @
aa8a8fd4
...
...
@@ -39,7 +39,7 @@ async def cert2room(request):
match
=
re_dn
.
search
(
s_dn
)
if
not
match
:
raise
Unauthorized
raise
Unauthorized
(
"
Unauthorized
"
)
# Get user's name from regex match
name
=
match
.
groups
()[
0
]
...
...
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