summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/user.module2
-rw-r--r--modules/user/user.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/user.module b/modules/user.module
index a580a32b8..4af5b703d 100644
--- a/modules/user.module
+++ b/modules/user.module
@@ -622,7 +622,7 @@ function user_login($edit = array(), $msg = "") {
** Redirect the user to the page he logged on from.
*/
- drupal_goto(check_url($edit["destination"]));
+ drupal_goto($edit["destination"]);
}
else {
if (!$error) {
diff --git a/modules/user/user.module b/modules/user/user.module
index a580a32b8..4af5b703d 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -622,7 +622,7 @@ function user_login($edit = array(), $msg = "") {
** Redirect the user to the page he logged on from.
*/
- drupal_goto(check_url($edit["destination"]));
+ drupal_goto($edit["destination"]);
}
else {
if (!$error) {