# HG changeset patch # User rougeronj # Date 1428400603 -7200 # Node ID 1aa813be49ec660e8b32c3850953b76a6c25eaf4 # Parent ed2ee692ff6f6ed17bc38f4d24c74a807c58fbc2 redirect to login page if the account is successfully created diff -r ed2ee692ff6f -r 1aa813be49ec client/app/auth/auth_controller.js --- 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 () {