From 96dd0995076c33f269f1219c899def7d938713d3 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Thu, 14 Jan 2016 14:34:16 +0100 Subject: [PATCH] Fixing bug in next redirection after registry --- app/coffee/modules/auth.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/coffee/modules/auth.coffee b/app/coffee/modules/auth.coffee index 26b5c466..d4ec9a87 100644 --- a/app/coffee/modules/auth.coffee +++ b/app/coffee/modules/auth.coffee @@ -296,7 +296,7 @@ RegisterDirective = ($auth, $confirm, $location, $navUrls, $config, $routeParams $confirm.notify("success", $translate.instant("LOGIN_FORM.SUCCESS")) - $location.path($scope.nextUrl) + $location.url($scope.nextUrl) onErrorSubmit = (response) -> if response.data._error_message