When a username/password auth fails, restore the username/password dialog instead...
authorArt Cancro <ajc@uncensored.citadel.org>
Wed, 16 May 2012 18:38:34 +0000 (14:38 -0400)
committerArt Cancro <ajc@uncensored.citadel.org>
Wed, 16 May 2012 18:38:34 +0000 (14:38 -0400)
webcit/static/authmethods.js

index f66f8bcf91cf16ed1adbe1493b142d9eb6b15080..a80543fdbbbedcff21bee5c02313ef7e80c8ad6a 100644 (file)
@@ -93,6 +93,7 @@ function ajax_try_username_and_password() {
                        }
                        else {
                                $('login_errmsg').innerHTML = ctdlresult.responseText.substr(4) ;
+                               authtoggle('authbox_userpass');
                        }
                }
        });