mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-23 12:52:20 +01:00
61d3fcdb0a
- add missing annotation for esFactory - removed unused dependency for diacritics service - removed google_plus from social networks: not relevant anymore - eslinted services syntax
14 lines
225 B
JavaScript
14 lines
225 B
JavaScript
'use strict';
|
|
|
|
Application.Services.service('Session', [function () {
|
|
this.create = function (user) {
|
|
this.currentUser = user;
|
|
};
|
|
|
|
this.destroy = function () {
|
|
this.currentUser = null;
|
|
};
|
|
|
|
return this;
|
|
}]);
|