fixed login register logout

This commit is contained in:
Baris Soner Usakli
2013-07-10 21:31:58 -04:00
parent 43e73e3aba
commit d7597608d5
7 changed files with 36 additions and 34 deletions

View File

@@ -24,11 +24,11 @@
$.ajax({
type: "POST",
url: '/login',
url: RELATIVE_PATH + '/login',
data: loginData,
success: function(data, textStatus, jqXHR) {
$('#login-error-notify').hide();
window.location.replace("/");
window.location.replace(RELATIVE_PATH + "/");
},
error : function(data, textStatus, jqXHR) {
$('#login-error-notify').show().delay(1000).fadeOut(250);