Older/WebApplication/RegistrationPage.cpp
amass ad13ac8650
All checks were successful
Deploy / Build (push) Successful in 6m7s
fix relogin error.
2025-01-08 23:44:41 +08:00

14 lines
401 B
C++

#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());
}
}