28 auto authWidget = std::make_unique<Auth::AuthWidget>(
session_.
login());
29 auto authWidgetPtr = authWidget.get();
30 authWidget->setModel(std::move(authModel));
31 authWidget->setRegistrationEnabled(
true);
33 addNew<WText>(
"<h1>A Witty game: Hangman</h1>");
35 addWidget(std::move(authWidget));
40 links_ = addNew<WContainerWidget>();
41 links_->setStyleClass(
"links");
48 scoresAnchor_->setLink(WLink(LinkType::InternalPath,
"/highscores"));
50 WApplication::instance()->internalPathChanged()
53 authWidgetPtr->processEnvironment();