Settings controller is a login controller.
This commit is contained in:
parent
6142d0e75d
commit
36abf2f4b0
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ app.controller("adminProblemsController", ["$controller", "$scope", "$http", fun
|
|||
}]);
|
||||
|
||||
app.controller("settingsController", ["$controller", "$scope", "$http", function($controller, $scope, $http) {
|
||||
$controller("mainController", { $scope: $scope });
|
||||
$controller("loginController", { $scope: $scope });
|
||||
$.get("/api/user/info", {}, function(result) {
|
||||
if (result["success"] == 1) {
|
||||
$scope.user = result["user"];
|
||||
|
|
Loading…
Reference in a new issue