mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-15 20:02:25 +01:00
20 lines
324 B
JavaScript
20 lines
324 B
JavaScript
(function () {
|
|
'use strict';
|
|
|
|
// Authentication service for user variables
|
|
|
|
angular
|
|
.module('users.services')
|
|
.factory('Authentication', Authentication);
|
|
|
|
Authentication.$inject = ['$window'];
|
|
|
|
function Authentication($window) {
|
|
var auth = {
|
|
user: $window.user
|
|
};
|
|
|
|
return auth;
|
|
}
|
|
}());
|