$helper->addInputPasswordField('pass2');
// Display current email
-$helper->addFormNote('current_email', "Derzeitige Email-Adresse: <span id=\"displayed_field\">".$helper->getField('email')."</span>");
+$helper->addFormNote('current_email', "Derzeitige Email-Adresse: <span id=\"displayed_field\">".$helper->getValueField('email')."</span>");
// Only for changing email address
if ($helper->ifEmailChangeAllowed()) {
} elseif ($helper->ifUserAccountLocked()) {
// Account is locked
$helper->addFormNote('status_locked', "Dein Account wurde gesperrt! Grund der Sperre:
- <span id=\"lock_reason\">".$helper->getField('lock_reason')."</span>
+ <span id=\"lock_reason\">".$helper->getValueField('lock_reason')."</span>
Bitte melde dich beim Support, damit dieser dir weiterhelfen kann."
);
} elseif ($helper->ifUserAccountGuest()) {