Changeset

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 5438:53f34e17d590
children 5440:82a14082be3f
files mod_auth_oauth_external/mod_auth_oauth_external.lua
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
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