Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Operate
Environments
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
TeDomum
Matrix
Commits
109c8aaf
Commit
109c8aaf
authored
9 years ago
by
David Baker
Browse files
Options
Downloads
Patches
Plain Diff
Fix includes
parent
b7788f80
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
synapse/handlers/identity.py
+2
-1
2 additions, 1 deletion
synapse/handlers/identity.py
with
2 additions
and
1 deletion
synapse/handlers/identity.py
+
2
−
1
View file @
109c8aaf
...
...
@@ -22,6 +22,7 @@ from synapse.api.errors import (
from
._base
import
BaseHandler
from
synapse.http.client
import
SimpleHttpClient
from
synapse.util.async
import
run_on_reactor
from
synapse.api.errors
import
SynapseError
import
json
import
logging
...
...
@@ -59,7 +60,7 @@ class IdentityHandler(BaseHandler):
else
:
raise
SynapseError
(
400
,
"
No client_secret in creds
"
)
if
not
id_server
in
trustedIdServers
:
if
id_server
not
in
trustedIdServers
:
logger
.
warn
(
'
%s is not a trusted ID server: rejecting 3pid
'
+
'
credentials
'
,
id_server
)
defer
.
returnValue
(
None
)
...
...
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