mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-08 00:25:06 -04:00
Raise LoginError if CasResponse doensn't contain user
This commit is contained in:
parent
a9c299c0be
commit
95f7661170
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ class LoginRestServlet(ClientV1RestServlet):
|
|||
"home_server": self.hs.hostname,
|
||||
}
|
||||
|
||||
defer.returnValue((200, result))
|
||||
defer.returnValue((200, result))
|
||||
|
||||
raise LoginError(401, "Invalid CAS response", errcode=Codes.UNAUTHORIZED)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue