comparison 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
comparison
equal deleted inserted replaced
5360:f05de5ac219f 5361:cec1b0b0adef
69 } 69 }
70 end 70 end
71 end 71 end
72 72
73 if vcard4 and event.claims:contains("phone") then 73 if vcard4 and event.claims:contains("phone") then
74 userinfo.phone = vcard4:find("email/text#") 74 userinfo.phone = vcard4:find("tel/text#")
75 if userinfo.phone then 75 if userinfo.phone then
76 userinfo.phone_number_verified = false; 76 userinfo.phone_number_verified = false;
77 end 77 end
78 end 78 end
79 79