# HG changeset patch # User Kim Alvefur # Date 1682252305 -7200 # Node ID cec1b0b0adef19518a82eae4550dd3c108c4d0f0 # Parent f05de5ac219f1e2148b531f2a704413406c0d8cd mod_oidc_userinfo_vcard4: Fix phone number claim Copy-paste mistake probably diff -r f05de5ac219f -r cec1b0b0adef mod_oidc_userinfo_vcard4/mod_oidc_userinfo_vcard4.lua --- 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