bsw@51: local claimed_identifier, errmsg = auth.openid.verify{ bsw@51: force_https = config.auth_openid_force_https, bsw@51: curl_options = config.auth_openid_curl_options bsw@51: } bsw@51: bsw@51: if not claimed_identifier then bsw@51: slot.put_into("error", _"Sorry, it was not possible to verify your OpenID.") bsw@51: return bsw@51: end bsw@51: bsw@51: if not config.auth_openid_identifier_check_func(claimed_identifier) then bsw@51: slot.put_into("error", _"This identifier is not allowed for this instance.") bsw@51: return bsw@51: end bsw@51: bsw@51: slot.put("validated as: ", encode.html(claimed_identifier), "
") bsw@51: