This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

CrushFTP supports allowing users to self register on your server. This is not automatic, and you must configure and personalize this experience. You have extensive controls over the entire process.

The first step is to create a username in the user manager that will be used for this. Keep it simple, and use a basic simple password too. Do not assign them any additional privileges as this will be a public account that is used for doing registrations.

I suggest an account name "register" with a password of "register". This will allow you to use a URL like this to reach the registration page:

When this page loads, it looks at the URL to see the name of the HTML file. The default is "messageForm" and its fine to keep it this way. It then asks the server to give it the registration form named "messageForm" as long as it has been assigned to the "register" user. If it hasn't, you will just get a blank page.

The next step is to make a form named "messageForm" in the Preferences, WebInterface, Custom Forms. There are only two required items for the form, the username and password. Every field item must have a 'name' that starts with 'registration_'.

So for the two required items, they would be 'registration_username' and 'registration_password'. You can have more items, just look at a user.xml file to see other element names. So if you wanted to include email in the registration, you would do 'registration_email'.


Now that you have the form defined, and the registration user created, you need to assign this form to the registration user.


Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
assignform.png 17.2 kB 1 09-Oct-2016 18:14 Ben Spink
registration.png 31.8 kB 3 09-Oct-2016 18:14 Halmágyi Árpád
selfregister auto enable0.png 116.0 kB 1 09-Oct-2016 18:14 Halmágyi Árpád
selfregister auto enable1.png 54.7 kB 3 20-Dec-2016 12:53 Halmágyi Árpád
selfregister auto enable2.png 22.9 kB 3 09-Oct-2016 18:14 Halmágyi Árpád
selfregister auto enable3.png 22.3 kB 3 09-Oct-2016 18:14 Halmágyi Árpád
selfregister auto enable4.png 63.2 kB 3 20-Dec-2016 12:53 Halmágyi Árpád
signupform.png 180.8 kB 2 09-Oct-2016 18:14 Halmágyi Árpád
« This particular version was published on 09-Oct-2016 18:14 by Ben Spink.
G’day (anonymous guest)


New: CrushFTPv9#


CrushFTP8 | What's New

Referenced by

JSPWiki v2.8.2