Fixed broken handling of password reset response in AJAX login
authorDan Fuhry <dan@enanocms.org>
Sat, 21 Aug 2010 23:30:56 -0400
changeset 1294 f61a263564b2
parent 1293 83e0fcd008e1
child 1295 3c9c1b18567b
Fixed broken handling of password reset response in AJAX login
includes/clientside/static/login.js
--- a/includes/clientside/static/login.js	Sat Aug 21 23:29:54 2010 -0400
+++ b/includes/clientside/static/login.js	Sat Aug 21 23:30:56 2010 -0400
@@ -457,7 +457,7 @@
 			var conf = confirm($lang.get('user_login_ajax_msg_used_temp_pass'));
 			if ( conf )
 			{
-				var url = makeUrlNS('Special', 'PasswordReset/stage2/' + response.user_id + '/' + response.temp_password);
+				var url = response.redirect_url;
 				window.location = url;
 				break;
 			}