liquid_feedback_frontend
view app/main/openid/verify.lua @ 154:6b6c82f9ca9f
speedup member image loading when non set
we can add the location of the default file directy instead of going through another slow request
we can add the location of the default file directy instead of going through another slow request
| author | Daniel Poelzleithner <poelzi@poelzi.org> | 
|---|---|
| date | Fri Oct 08 15:25:10 2010 +0200 (2010-10-08) | 
| parents | 0849be391140 | 
| children | 
 line source
     1 local claimed_identifier, errmsg = auth.openid.verify{
     2   force_https              = config.auth_openid_force_https,
     3   curl_options             = config.auth_openid_curl_options
     4 }
     6 if not claimed_identifier then
     7   slot.put_into("error", _"Sorry, it was not possible to verify your OpenID.")
     8   return
     9 end
    11 if not config.auth_openid_identifier_check_func(claimed_identifier) then
    12   slot.put_into("error", _"This identifier is not allowed for this instance.")
    13   return
    14 end
    16 slot.put("validated as: ", encode.html(claimed_identifier), "<br />")
