             promise = $auth.forgotPassword($scope.data)
             promise.then (response) ->
                 if response.data.detail
-                    # TODO: Show a success message and move to /login
-                    #$confirm.success(response.data.detail)
+                    # TODO: Show a success message (reset-pass.jade?) and move to /login
+                    #$confirm.notify("success", response.data.detail)
+                    $location.path("/login") # TODO: Use the future 'urls' service
                     console.log response.data.detail
                     #
 

    ## Forgot Password Directive
    ###################

ForgotPasswordDirective = ($auth, $confirm) ->
    link = ($scope, $el, $attrs) ->
        $scope.data = {}
        form = $el.find("form").checksley()


            promise = $auth.publicRegister($scope.data)
            promise.then (response) ->
                # TODO: finish this. Authenticate user and go to projects page
                #$confirm.notify("success", response.data.detail)
                console.log response
                #

