Handbook
Glossary
allow-deactivation ( realm -- realm )
Furnace framework
»
Furnace authentication
»
Optional authentication features
»
User profile deactivation
Next:
allow-deactivation? ( -- ? )
Vocabulary
furnace
.
auth
.
features
.
deactivate-user
Inputs
realm
an authentication realm
Outputs
realm
an authentication realm
Word description
Adds a
deactivate-user
action to an authentication realm.
Definition
USING:
accessors
furnace.auth
http.server.dispatchers
;
IN:
furnace.auth.features.deactivate-user
:
allow-deactivation
( realm -- realm )
<deactivate-user-action>
<protected>
"delete your profile"
>>description
"deactivate-user"
add-responder
;