code: function forgotten() {
      var self = this
        , username = $('.modal input[name="username"]')
        , button = $('.modal button[type="submit"]');
  
      // Add an disabled state to the button as we are processing it
      button.addClass('disabled loading')
        .set('disabled', 'disabled')
        .set('innerHTML', 'Submitting');
  
      username = username.set('readOnly', true).get('value');
  
      Cortex.request({
          url: '/forgot'
        , method: 'post'
        , type: 'json'
        , data: {
              username: username
          }
        , success: function success(res) {
            if (res.error) {
              return self.render('forgot', {
                  error: 'Invalid user account'
                , username: username
              });
            }
  
            return self.render('forgot', {
                success: 'We have sent an password reset request to your e-mail address'
              , username: username
            });
          }
      });
    }
docs: The user requested a password forget.
  
  @api public