Direct form to /courses not /info
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user