client/app/auth/auth_controller.js
changeset 73 1aa813be49ec
parent 66 86f880fe5a25
child 100 537d330ad7f0
--- a/client/app/auth/auth_controller.js	Tue Apr 07 11:55:11 2015 +0200
+++ b/client/app/auth/auth_controller.js	Tue Apr 07 11:56:43 2015 +0200
@@ -43,6 +43,8 @@
 				username: $scope.username,
 				email: $scope.email,
 				password: $scope.password,
+			}, function(){
+				$modalInstance.close('/auth/login');
 			});
 		};
 		$scope.back = function () {