Export format has changed due to the addition of a new
[citadel.git] / webcit / auth.c
index 96503c1a7f33c5608694336a567d06b8dc5bb701..2e3cc9a8418cd52afb9660324b5123bfd0d42b18 100644 (file)
@@ -78,7 +78,7 @@ void display_login(char *mesg)
                svput("NEWUSER_BUTTON_POST", WCS_STRING, "");
        }
 
-       if (1) {        // FIXME we have to check whether the server offers openid
+       if (serv_info.serv_supports_openid) {
                svprintf(HKEY("OFFER_OPENID_LOGIN"), WCS_STRING,
                        "<div align=center>"
                        "<a href=\"display_openid_login\">"
@@ -321,7 +321,6 @@ void finalize_openid_login(void)
        if (havebstr("openid.mode")) {
                if (!strcasecmp(bstr("openid.mode"), "id_res")) {
 
-                       // FIXME id accepted but the code isn't finished
                        serv_puts("OIDF");
                        serv_getln(buf, sizeof buf);