(public)
Registers a new user and sends a confirmation email on success to the user's email address.
| Submissions |
register Performs the registration. |
| Parameters |
| email |
The email address of the account. |
| firstname |
The first name of the account. |
| lastname |
The last name of the account. |
| login |
The login of the account. |
| password |
The password of the account. |
| password2 |
The password of the account, repeated. |
| Errors |
| MANDATORY:firstname |
The first name wasn't provided. |
| WRONGLENGTH:firstname |
The first name was too long (max. 50 chars). |
| MANDATORY:lastname |
The last name wasn't provided. |
| WRONGLENGTH:lastname |
The last name was too long (max. 50 chars). |
| MANDATORY:login |
The login wasn't provided. |
| WRONGLENGTH:login |
The login was too short or too long (min. 5 and max. 20 chars). |
| UNICITY:login |
The login already exists. |
| MANDATORY:password |
The password wasn't provided. |
| WRONGLENGTH:password |
The password was too short or too long (min. 5 and max. 20 chars). |
| MANDATORY:password2 |
The second password wasn't provided. |
| WRONGLENGTH:password2 |
The second password was too short or too long (min. 5 and max. 20 chars). |
| NOTSAME:password2 |
The password wasn't the same as the first password. |
| MANDATORY:email |
The email wasn't provided. |
| INVALID:email |
The email was not valid. |
| WRONGLENGTH:email |
The email was too long (max. 100 chars). |
| UNICITY:email |
The email already exists. |
|
example request
example result
<registration>
<success id="21"/>
</registration>