fix login maybe?

This commit is contained in:
barisusakli
2014-12-03 22:29:56 -05:00
parent 356f577a74
commit e18ad61ff6
2 changed files with 3 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ define('forum/login', ['csrf'], function(csrf) {
var returnToEl = document.createElement('input');
returnToEl.type = 'hidden';
returnToEl.name = 'returnTo';
returnToEl.value = app.previousUrl.replace(window.location.origin + RELATIVE_PATH, '');
returnToEl.value = app.previousUrl;
$(returnToEl).appendTo(formEl);
}
};