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

0.4.0 #386

Merged
merged 2 commits into from
Feb 4, 2015
Merged

0.4.0 #386

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}
]);
]);