mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 17:05:51 +01:00
fix login maybe?
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user