Commit 8b45d19c authored by Evren Kutar's avatar Evren Kutar

FIX fixes GH-73

parent 462104fd
...@@ -45,6 +45,7 @@ angular.module('ulakbus.auth', ['ngRoute', 'ngCookies']) ...@@ -45,6 +45,7 @@ angular.module('ulakbus.auth', ['ngRoute', 'ngCookies'])
AuthService.login($scope.url, $scope.model) AuthService.login($scope.url, $scope.model)
.error(function (data) { .error(function (data) {
$scope.message = data.title; $scope.message = data.title;
$scope.loggingIn = false;
}) })
.then(function () { .then(function () {
$scope.loggingIn = false; $scope.loggingIn = false;
......
...@@ -40,6 +40,7 @@ angular.module('ulakbus.auth') ...@@ -40,6 +40,7 @@ angular.module('ulakbus.auth')
}) })
.error(function (data, status, headers, config) { .error(function (data, status, headers, config) {
// Handle login errors here // Handle login errors here
data.title = "İşlem başarısız oldu. Lütfen girdiğiniz bilgileri kontrol ediniz."
return data; return data;
}); });
}; };
......
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