Older/WebApplication/RegistrationPage.cpp

14 lines
401 B
C++
Raw Normal View History

2025-01-08 23:44:41 +08:00
#include "RegistrationPage.h"
#include "LoginPage.h"
#include <Wt/WAnchor.h>
RegistrationPage::RegistrationPage(LoginPage *authWidget) : Wt::Auth::RegistrationWidget(authWidget) {
}
void RegistrationPage::update() {
Wt::Auth::RegistrationWidget::update();
Wt::WAnchor *isYou = resolve<Wt::WAnchor *>("confirm-is-you");
if (isYou != nullptr) {
isYou->setLink(Wt::WLink());
}
}