|
Wt
3.3.0
|
A widget which allows a user to choose a new password. More...
#include <Auth/UpdatePasswordWidget>

Public Member Functions | |
| UpdatePasswordWidget (const User &user, RegistrationModel *registrationModel, AuthModel *authModel, WContainerWidget *parent=0) | |
| Constructor. | |
Protected Member Functions | |
| virtual WFormWidget * | createFormWidget (WFormModel::Field field) |
| Creates a form widget. | |
A widget which allows a user to choose a new password.
This widget lets a user choose a new password.
The widget renders the "Wt.Auth.template.update-password" template. Optionally, it asks for the current password, as well as a new password.
| Wt::Auth::UpdatePasswordWidget::UpdatePasswordWidget | ( | const User & | user, |
| RegistrationModel * | registrationModel, | ||
| AuthModel * | authModel, | ||
| WContainerWidget * | parent = 0 |
||
| ) |
Constructor.
If authModel is not null, the user also has to authenticate first using his current password.
| WFormWidget * Wt::Auth::UpdatePasswordWidget::createFormWidget | ( | WFormModel::Field | field | ) | [protected, virtual] |
Creates a form widget.
This method is called by updateViewField() when it needs to create a form widget for a field, and none was specified using setFormWidget().
Reimplemented from Wt::WTemplateFormView.
1.7.5.1