mod_auth_oauth_external/mod_auth_oauth_external.lua
changeset 5443 721f79ac88d8
parent 5442 53f34e17d590
child 5444 82a14082be3f
--- 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