Skip to content

Commit e7b8ff5

Browse files
author
Domenico Bove
committed
Changed token variable name
1 parent 4fdefef commit e7b8ff5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/static/js/services/authService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ angular.module('app').factory('AuthService', function($http, Session, $location,
2121
data: "username="+credentials.username+"&password="+credentials.password+"&grant_type="+credentials.grant_type})
2222
.then(function(res) {
2323
console.log(res);
24-
Session.create(URL, res.data.access_token, credentials.username, true);
24+
Session.create(URL, res.data.value, credentials.username, true);
2525
$location.path("/");
2626
$window.location.reload();
2727
return;

0 commit comments

Comments
 (0)