Commit 7bd0296b by Matthew Mongeau

Direct form to /courses not /info

parent 9202c1e2
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment