registration fix

main
Philip Häusler 13 years ago
parent e90e6085df
commit b707f55250

@ -143,8 +143,8 @@ function guest_register() {
form_textarea('comment', Get_Text("makeuser_text2"), $comment), form_textarea('comment', Get_Text("makeuser_text2"), $comment),
form_checkboxes('angel_types', "What do you want to do?", $angel_types, $selected_angel_types), form_checkboxes('angel_types', "What do you want to do?", $angel_types, $selected_angel_types),
form_info("", "Restricted angel types need will be confirmed later by an archangel. You can change your selection in the options section."), form_info("", "Restricted angel types need will be confirmed later by an archangel. You can change your selection in the options section."),
form_password('password', Get_Text("makeuser_Passwort")), form_password('password', Get_Text("makeuser_Passwort") . "*"),
form_password('password2', Get_Text("makeuser_Passwort2")), form_password('password2', Get_Text("makeuser_Passwort2") . "*"),
info(Get_Text("makeuser_text3"), true), info(Get_Text("makeuser_text3"), true),
form_submit('submit', Get_Text("makeuser_Anmelden")) form_submit('submit', Get_Text("makeuser_Anmelden"))
)) ))

@ -10,7 +10,7 @@ function load_auth() {
if ($_SESSION['IP'] != $_SERVER['REMOTE_ADDR']) { if ($_SESSION['IP'] != $_SERVER['REMOTE_ADDR']) {
session_destroy(); session_destroy();
header("Location: " . link_to_page('start')); header("Location: " . page_link_to('start'));
} }
$user = null; $user = null;

Loading…
Cancel
Save