Fix: came_from with query string was not being properly interpreted
This commit is contained in:
parent
91b60fa76d
commit
666613fb54
@ -18,7 +18,7 @@ var LoginCtrl = ['$scope', '$http', '$location', '$routeParams', '$cookieStore',
|
||||
if (angular.isUndefined(came_from) || came_from === "" || came_from === "/login" || came_from === "/logout") {
|
||||
came_from = "/";
|
||||
}
|
||||
$location.path(came_from).search({});
|
||||
$location.url(came_from);
|
||||
}).
|
||||
error(function (data, status, headers, config) {
|
||||
if (status === 403 && ['Unknown Client', 'OTP not supplied', 'OTP is wrong'].indexOf(data) !== -1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user