Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maunium
synapse
Commits
edc244ee
Unverified
Commit
edc244ee
authored
5 years ago
by
Andrew Morgan
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove duplicate session check in web fallback servlet (#6702)
parent
608bf7d7
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changelog.d/6702.misc
+1
-0
1 addition, 0 deletions
changelog.d/6702.misc
synapse/rest/client/v2_alpha/auth.py
+0
-4
0 additions, 4 deletions
synapse/rest/client/v2_alpha/auth.py
with
1 addition
and
4 deletions
changelog.d/6702.misc
0 → 100644
+
1
−
0
View file @
edc244ee
Remove duplicate check for the `session` query parameter on the `/auth/xxx/fallback/web` Client-Server endpoint.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
synapse/rest/client/v2_alpha/auth.py
+
0
−
4
View file @
edc244ee
...
@@ -206,10 +206,6 @@ class AuthRestServlet(RestServlet):
...
@@ -206,10 +206,6 @@ class AuthRestServlet(RestServlet):
return
None
return
None
elif
stagetype
==
LoginType
.
TERMS
:
elif
stagetype
==
LoginType
.
TERMS
:
if
(
"
session
"
not
in
request
.
args
or
len
(
request
.
args
[
"
session
"
]))
==
0
:
raise
SynapseError
(
400
,
"
No session supplied
"
)
session
=
request
.
args
[
"
session
"
][
0
]
authdict
=
{
"
session
"
:
session
}
authdict
=
{
"
session
"
:
session
}
success
=
await
self
.
auth_handler
.
add_oob_auth
(
success
=
await
self
.
auth_handler
.
add_oob_auth
(
...
...
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