Wt
3.2.0
|
A widget which allows a user to choose a new password. More...
#include <Auth/UpdatePasswordWidget>
Public Member Functions | |
UpdatePasswordWidget (const User &user, const AbstractPasswordService &auth, Login &login, bool promptPassword, WContainerWidget *parent=0) | |
Constructor. |
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, |
const AbstractPasswordService & | auth, | ||
Login & | login, | ||
bool | promptPassword, | ||
WContainerWidget * | parent = 0 |
||
) |
Constructor.
If promptPassword
is true
, the user also has to enter his current password.