---
title: "Generator: ResetPassword"
source: https://dev.pageseeder.com/reference/advanced/website/berlioz/generators/org.weborganic.bastille.pageseeder.ResetPassword.html
last_updated: 2026-08-07T17:09:54+10:00
tokens: ~273
---

# Generator: ResetPassword

| Property | Value |
| --- | --- |
| Class name: | org.weborganic.bastille.pageseeder.ResetPassword |
| Version: | 16 September 2011 |
| Library: | Bastille |
| Cacheable: | No |
| Generated: | 2012-12-21 |

## Description

Invokes PageSeeder to reset the password for a user.

### Configuration

There is no configuration associated with this generator.

However, the `PSResource` Object requires the PageSeeder properties to be set up properly in the `config/config-[mode].xml`. See following example:

```xml

<bastille>
  <pageseeder scheme="http"
              host="acme.pageseeder.com"
              port="80"
              siteprefix="/ps"
              servletprefix="/ps/servlet" />
</bastille>
```

### Parameters

- `email` – The Reset EMail Address.
- `group` – The group the user is a member of, use this to use a specific email template (optional).

### Returned XML

```xml

<ps-servlet resource="com.pageseeder.ResetPassword"
            http-status="200"
            content-type="application/xml">
  <root>
    ...
  </root>
</ps-servlet>
```

