Handbook
Glossary
<recover-action-1> ( -- action )
Vocabulary
furnace
.
auth
.
features
.
recover-password
Inputs
None
Outputs
action
an
object
Definition
USING:
accessors
furnace.actions
furnace.auth
furnace.auth.providers
furnace.redirection
html.forms
kernel
urls
validators
;
IN:
furnace.auth.features.recover-password
:
<recover-action-1>
( -- action )
<page-action>
{
realm
"features/recover-password/recover-1"
}
>>template
[
{
{
"username"
[
v-username
]
}
{
"email"
[
v-email
]
}
{
"captcha"
[
v-captcha
]
}
}
validate-params
]
>>validate
[
"email"
value
"username"
value
users
issue-ticket
[
send-password-email
]
when*
URL" %24realm/recover-2"
<redirect>
]
>>submit
;