diff mod_auth_oauth_external/mod_auth_oauth_external.lua @ 5438:53f34e17d590

mod_auth_oauth_external: Remove untested role mapping This ... broke things. If brought back, it would need additional validation.
author Kim Alvefur <zash@zash.se>
date Wed, 10 May 2023 13:43:59 +0200
parents 49306afbf722
children 721f79ac88d8
line wrap: on
line diff
--- 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