Software /
code /
prosody-modules
Changeset
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 | 5360:f05de5ac219f |
children | 5362:c0493d3173c1 |
files | mod_oidc_userinfo_vcard4/mod_oidc_userinfo_vcard4.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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