|
Wt
3.3.0
|
A dialog that prompts for the user password. More...
#include <Wt/Auth/PasswordPromptDialog>

Public Member Functions | |
| PasswordPromptDialog (Login &login, AuthModel *model) | |
| Constructor. | |
A dialog that prompts for the user password.
This is a simple dialog, useful for prompting the user to enter his password. This may be convenient for example to let the user upgrade from a weak authentication to a strong authentication.
The dialog uses a Login object to get the currently identified user, and also sets the result of the login process by calling Login::login() on this object.
The dialog renders the "Wt.Auth.template.password-prompt" template.
Constructor.
From the passed login object, the dialog obtains the User for which a valid password needs to be entered. The result, if successful, is signalled using Login::login().
1.7.5.1