Direct form to /courses not /info

This commit is contained in:
Matthew Mongeau
2012-06-21 11:12:59 -04:00
parent 9202c1e2cc
commit 7bd0296b9c

View File

@@ -68,7 +68,7 @@ function postJSON(url, data, callback) {
submit_data,
function(json) {
if(json.success) {
location.href="/info";
location.href="/courses";
} else if($('#login_error').length == 0) {
$('#login_form').prepend('<div id="login_error">Email or password is incorrect.</div>');
} else {