* Removed the 'New User' button from openid_login; new and existing users are handled...
authorArt Cancro <ajc@citadel.org>
Sat, 31 Jan 2009 21:30:47 +0000 (21:30 +0000)
committerArt Cancro <ajc@citadel.org>
Sat, 31 Jan 2009 21:30:47 +0000 (21:30 +0000)
webcit/auth.c
webcit/static/t/openid_login.html

index 4448d48df132ee8fef9c5a1ba6a1aaf052376c6c..5283afa1824e171d6da09f2520c8a8aa1d2e9caf 100644 (file)
@@ -352,7 +352,9 @@ void finalize_openid_login(void)
        StrBuf *logged_in_response = NULL;
        StrBuf *claimed_id = NULL;
 
+       lprintf(9, "finalize_openid_login() started\n");
        if (havebstr("openid.mode")) {
+               lprintf(9, "finalize_openid_login() openid.mode = %s\n", bstr("openid.mode"));
                if (!strcasecmp(bstr("openid.mode"), "id_res")) {
                        Buf = NewStrBuf();
                        serv_puts("OIDF");
@@ -421,6 +423,7 @@ void finalize_openid_login(void)
         * auto-creating one using Simple Registration Extension, we're already on our way.
         */
        if (!strcasecmp(ChrPtr(result), "authenticate")) {
+               lprintf(9, "finalize_openid_login() attempting to become_logged_in()\n");
                become_logged_in(username, password, logged_in_response);
        }
 
index 22f6cd56bb8b23cba502357529d87df7d241f849..34bec9e2049171dfeebc2ec7a083f70e361971ac 100644 (file)
@@ -20,9 +20,6 @@
 </div>
         <div class="logbuttons">
         <input type="submit" name="login_action" value="<?_("Login")>"   class="logbutton">
-       <??("COND:SERV:NEWU", 1)>
-        <input name="newuser_action" value="<?_("New User")>" class="logbutton" type="submit">
-       <??("X", 1)>
         <input type="submit" name="exit_action" value="<?_("Exit")>"  class="logbutton">
         <br>
         </div>