mod_auth_oauth_external: Remove untested role mapping
authorKim Alvefur <zash@zash.se>
Wed, 10 May 2023 13:43:59 +0200
changeset 5442 53f34e17d590
parent 5441 49306afbf722
child 5443 721f79ac88d8
mod_auth_oauth_external: Remove untested role mapping This ... broke things. If brought back, it would need additional validation.
mod_auth_oauth_external/mod_auth_oauth_external.lua
--- a/mod_auth_oauth_external/mod_auth_oauth_external.lua	Wed May 10 12:55:13 2023 +0200
+++ b/mod_auth_oauth_external/mod_auth_oauth_external.lua	Wed May 10 13:43:59 2023 +0200
@@ -77,7 +77,6 @@
 			if response.jid then
 				self.username, self.realm, self.resource = jid.prepped_split(response.jid, true);
 			end
-			self.role = response.role;
 			self.token_info = response;
 			return true, true;
 		end