User registration
Furnace framework » Furnace authentication » Optional authentication features

Prev:User password recovery


The furnace.auth.features.registration vocabulary implements an authentication feature for user registration, allowing new users to create accounts.

To enable this feature, call the following word on an authentication realm:
allow-registration ( realm -- realm )


To check if user registration is enabled:
allow-registration? ( -- ? )


This feature adds a register action to the realm. A link to this action is inserted on the login page if the furnace.auth.login authentication realm is used. Links to this action can be inserted from other pages using the following Chloe XML snippet:
<t:if t:code="furnace.auth.features.registration:allow-registration?"> <t:button t:action="$realm/register">Register</t:button> </t:if>