Mercurial > prosody-modules
diff mod_auth_oauth_external/mod_auth_oauth_external.lua @ 5439:721f79ac88d8
mod_auth_oauth_external: Remove untested JID mapping
This should probably be opt-in.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 10 May 2023 13:45:28 +0200 |
parents | 53f34e17d590 |
children | 82a14082be3f |
line wrap: on
line diff
--- a/mod_auth_oauth_external/mod_auth_oauth_external.lua Wed May 10 13:43:59 2023 +0200 +++ b/mod_auth_oauth_external/mod_auth_oauth_external.lua Wed May 10 13:45:28 2023 +0200 @@ -74,9 +74,6 @@ if type(response) ~= "table" or (response[username_field]) ~= username then return false, nil, nil; end - if response.jid then - self.username, self.realm, self.resource = jid.prepped_split(response.jid, true); - end self.token_info = response; return true, true; end