Remove useless register implementation part 1 (DLUX Core)
[dlux.git] / modules / common-login-resources / src / main / resources / login / login.controller.js
index 250d238010d8c8616b3ebb5fbe536f33d90d030a..750340d184b4faedb0b87a8e176837aa7238889a 100644 (file)
@@ -8,7 +8,7 @@
 
 define(['common/login/login.module', 'common/authentification/auth.services'], function(login) {
 
-  login.register.controller('LoginCtrl', function ($scope, $http, $window, Auth, $location) {
+  login.controller('LoginCtrl', function ($scope, $http, $window, Auth, $location) {
         // default values
         $scope.login = {};
         $scope.login.username = "";
@@ -29,7 +29,7 @@ define(['common/login/login.module', 'common/authentification/auth.services'], f
         };
     });
 
-    login.register.controller('forgotPasswordCtrl', function ($scope, $http) {
+    login.controller('forgotPasswordCtrl', function ($scope, $http) {
         $scope.recover = {};
         $scope.recover.email = "";
         $scope.sendForgotPassword = function () {
@@ -45,7 +45,7 @@ define(['common/login/login.module', 'common/authentification/auth.services'], f
         };
     });
 
-   login.register.controller('registerCtrl', function ($scope, $http) {
+   login.controller('registerCtrl', function ($scope, $http) {
         $scope.register = {};
         $scope.register.email = "";
         $scope.register.username = "";