Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
ulakbus-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ulakbus
ulakbus-ui
Commits
8b45d19c
Commit
8b45d19c
authored
Jan 26, 2016
by
Evren Kutar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FIX fixes GH-73
parent
462104fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
auth_controller.js
app/components/auth/auth_controller.js
+1
-0
auth_service.js
app/components/auth/auth_service.js
+1
-0
No files found.
app/components/auth/auth_controller.js
View file @
8b45d19c
...
@@ -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
;
...
...
app/components/auth/auth_service.js
View file @
8b45d19c
...
@@ -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
;
});
});
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment