Mercurial > prosody-modules
diff mod_oidc_userinfo_vcard4/mod_oidc_userinfo_vcard4.lua @ 5361:cec1b0b0adef
mod_oidc_userinfo_vcard4: Fix phone number claim
Copy-paste mistake probably
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 23 Apr 2023 14:18:25 +0200 |
parents | f05de5ac219f |
children | 320593cf7d90 |
line wrap: on
line diff
--- a/mod_oidc_userinfo_vcard4/mod_oidc_userinfo_vcard4.lua Sun Apr 23 13:37:58 2023 +0200 +++ b/mod_oidc_userinfo_vcard4/mod_oidc_userinfo_vcard4.lua Sun Apr 23 14:18:25 2023 +0200 @@ -71,7 +71,7 @@ end if vcard4 and event.claims:contains("phone") then - userinfo.phone = vcard4:find("email/text#") + userinfo.phone = vcard4:find("tel/text#") if userinfo.phone then userinfo.phone_number_verified = false; end