Files
cloudron-box/webadmin/js/controller/settings.js
T
Johannes Zellner c7a00ea283 Use OAuth login in the webadmin
Currently the webadmin has a fixed built-in
client id, which is added on server startup.
2014-04-16 21:17:16 -07:00

12 lines
252 B
JavaScript
Executable File

'use strict';
var SettingsController = function ($scope, Client) {
console.debug('SettingsController');
$scope.user = Client.getUserInfo();
$scope.changePassword = function () {
window.location.href = '#/userpassword';
};
};