diff options
author | squahtx <squahtx@users.noreply.github.com> | 2022-08-04 12:05:50 +0000 |
---|---|---|
committer | squahtx <squahtx@users.noreply.github.com> | 2022-08-04 12:05:50 +0000 |
commit | 69894d49c99d4175f469a1901d5658b45d9c2ec3 (patch) | |
tree | 0897d7f0b091a291f4f7607ed0618469062eed71 /develop/print.html | |
parent | deploy: 668597214f0cfeb9d7a642ef0564e73198b7bc82 (diff) | |
download | synapse-69894d49c99d4175f469a1901d5658b45d9c2ec3.tar.xz |
deploy: afbdbe063454e6748ba15b73866f1571f1e6ffd8
Diffstat (limited to 'develop/print.html')
-rw-r--r-- | develop/print.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/develop/print.html b/develop/print.html index 2dd1c2163b..4e1673968d 100644 --- a/develop/print.html +++ b/develop/print.html @@ -9414,7 +9414,7 @@ class MyAuthProvider: return None if self.credentials.get(username) == login_dict.get("my_field"): - return self.api.get_qualified_user_id(username) + return (self.api.get_qualified_user_id(username), None) async def check_pass( self, @@ -9431,7 +9431,7 @@ class MyAuthProvider: return None if self.credentials.get(username) == login_dict.get("password"): - return self.api.get_qualified_user_id(username) + return (self.api.get_qualified_user_id(username), None) </code></pre> <div style="break-before: page; page-break-before: always;"></div><h1 id="background-update-controller-callbacks"><a class="header" href="#background-update-controller-callbacks">Background update controller callbacks</a></h1> <p>Background update controller callbacks allow module developers to control (e.g. rate-limit) |