I assume you already have a form in the page.
Insert somewhere in the form:
INPUT('password',requires=(CRYPT(),IS_EQUAL_TO(auth.user.password)))
On Apr 15, 8:53 pm, Brian M <[email protected]> wrote:
> Is there any easy way to re-prompt the user for their password before
> displaying certain sensitive pages? Here's what I'm thinking - the user logs
> in with auth and has access to most features of the site. But, when they go
> to a more important page they're first asked to re-enter their password -
> for example before changing certain settings or maybe purchasing something -
> in order to prove it's still them. Any ideas?
>
> ~Brian