Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #386 from sylvainlap/0.4.0
Browse files Browse the repository at this point in the history
0.4.0
  • Loading branch information
ilanbiala committed Feb 4, 2015
2 parents 1e450b4 + 07e8b41 commit 1d18127
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions modules/users/client/services/authentication.client.service.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
'use strict';

// Authentication service for user variables
angular.module('users').factory('Authentication', [

function() {
var _this = this;

_this._data = {
user: window.user
angular.module('users').factory('Authentication', ['$window',
function($window) {
var auth = {
user: $window.user
};

return _this._data;
return auth;
}
]);
]);

0 comments on commit 1d18127

Please sign in to comment.