liquid_feedback_frontend
annotate app/main/openid/_action/initiate.lua @ 52:88ac7798b562
Several bugfixes (getpic.c, accepted but canceled issues, ...); Listing of available policies
- Bugfixes in fastpath/getpic.c (related to crashes since alpha5)
- Respect Content-Types of images in database
(needs database update, as Content-Type was incorrectly stored by previous versions)
- Typo fixed in help messages
- RSS-Feed (currently only after manual authentication while session is valid)
- Listing of available policies
- German translation fixed: "gebe" -> "gib" (Imperativ)
- Bugfixes related to issues which had been accepted but canceled afterwards
- Prohibit creation of initiatives in disabled areas or with disabled policies
- Bugfixes in fastpath/getpic.c (related to crashes since alpha5)
- Respect Content-Types of images in database
(needs database update, as Content-Type was incorrectly stored by previous versions)
- Typo fixed in help messages
- RSS-Feed (currently only after manual authentication while session is valid)
- Listing of available policies
- German translation fixed: "gebe" -> "gib" (Imperativ)
- Bugfixes related to issues which had been accepted but canceled afterwards
- Prohibit creation of initiatives in disabled areas or with disabled policies
author | bsw/jbe |
---|---|
date | Thu Apr 15 19:58:25 2010 +0200 (2010-04-15) |
parents | 0849be391140 |
children |
rev | line source |
---|---|
bsw@51 | 1 local user_supplied_identifier = param.get("openid_identifier") |
bsw@51 | 2 |
bsw@51 | 3 if not config.auth_openid_identifier_check_func(user_supplied_identifier) then |
bsw@51 | 4 slot.put_into("error", _"This identifier is not allowed for this instance.") |
bsw@51 | 5 return |
bsw@51 | 6 end |
bsw@51 | 7 |
bsw@51 | 8 local success,errmsg = auth.openid.initiate{ |
bsw@51 | 9 user_supplied_identifier = user_supplied_identifier, |
bsw@51 | 10 https_as_default = config.auth_openid_https_as_default, |
bsw@51 | 11 curl_options = config.auth_openid_curl_options, |
bsw@51 | 12 realm = request.get_absolute_baseurl(), |
bsw@51 | 13 return_to_module = "openid", |
bsw@51 | 14 return_to_view = "verify" |
bsw@51 | 15 } |
bsw@51 | 16 |
bsw@51 | 17 if not success then |
bsw@51 | 18 slot.put_into("error", encode.html(_("Error while resolving openid. Internal message: '#{errmsg}'", { errmsg = errmsg }))) |
bsw@51 | 19 return false |
bsw@51 | 20 end |