Commit e031bd43 authored by Grzegorz Pietrusza's avatar Grzegorz Pietrusza

fix ip address

parent e13d69bf
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
$location.path('/'); $location.path('/');
AuthenticationService.setCredentials($scope.username, $scope.password, response.team); AuthenticationService.setCredentials($scope.username, $scope.password, response.team);
// redirect to additional external auth point // redirect to additional external auth point
$window.location.href = "http://"+$scope.username+":"+$scope.password+"@localhost:8080/api/v1/auth"; $window.location.href = "http://"+$scope.username+":"+$scope.password+"@52.25.28.64/:8080/api/v1/auth";
} else { } else {
Materialize.toast('Błąd logowania! Spróbuj jeszcze raz.', 5000 ,'toast-error'); Materialize.toast('Błąd logowania! Spróbuj jeszcze raz.', 5000 ,'toast-error');
$scope.dataLoading = false; $scope.dataLoading = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment