mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-12 18:32:22 +01:00
if sign up is open, all user can free register otherwise, sign up is closed, and show tooltip message to user
17 lines
408 B
JavaScript
17 lines
408 B
JavaScript
(function () {
|
|
'use strict';
|
|
|
|
angular
|
|
.module('users')
|
|
.controller('SettingsController', SettingsController);
|
|
|
|
SettingsController.$inject = ['$scope', 'Authentication', 'MeanTorrentConfig'];
|
|
|
|
function SettingsController($scope, Authentication, MeanTorrentConfig) {
|
|
var vm = this;
|
|
|
|
vm.user = Authentication.user;
|
|
vm.signConfig = MeanTorrentConfig.meanTorrentConfig.sign;
|
|
}
|
|
}());
|