# HG changeset patch # User Dan # Date 1258348015 18000 # Node ID 8c664c96fccdc982ecfb05ed8a9ec78e4611bab3 # Parent 56c0abbdad3e277610e647013d5f8c406da607d8 Login: Fixed typo that prevented non-DH crypto from working (thanks Keith Schmader) diff -r 56c0abbdad3e -r 8c664c96fccd includes/clientside/jsres.php --- a/includes/clientside/jsres.php Wed Nov 11 23:48:55 2009 -0500 +++ b/includes/clientside/jsres.php Mon Nov 16 00:06:55 2009 -0500 @@ -12,7 +12,7 @@ * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details. */ -define('ENANO_JS_DEBUG', 1); +// define('ENANO_JS_DEBUG', 1); // if Enano's already loaded, we've been included from a helper script if ( defined('ENANO_CONFIG_FETCHED') ) diff -r 56c0abbdad3e -r 8c664c96fccd includes/clientside/static/login.js --- a/includes/clientside/static/login.js Wed Nov 11 23:48:55 2009 -0500 +++ b/includes/clientside/static/login.js Mon Nov 16 00:06:55 2009 -0500 @@ -772,7 +772,7 @@ } // Post operations: stash encryption keys and All That Jazz(TM) - logindata.key_aes = data.crypto_aes_key; + logindata.key_aes = data.crypto.aes_key; logindata.key_dh = data.crypto.dh_public_key; logindata.captcha_hash = show_captcha; logindata.loggedin_username = data.username;