From b707f552507fdf311749f61a09551581209971a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20H=C3=A4usler?= Date: Tue, 27 Dec 2011 13:30:51 +0100 Subject: [PATCH] registration fix --- includes/pages/guest_login.php | 4 ++-- includes/sys_auth.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/pages/guest_login.php b/includes/pages/guest_login.php index 0f1fdf38..dff87bbc 100644 --- a/includes/pages/guest_login.php +++ b/includes/pages/guest_login.php @@ -143,8 +143,8 @@ function guest_register() { form_textarea('comment', Get_Text("makeuser_text2"), $comment), 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_password('password', Get_Text("makeuser_Passwort")), - form_password('password2', Get_Text("makeuser_Passwort2")), + form_password('password', Get_Text("makeuser_Passwort") . "*"), + form_password('password2', Get_Text("makeuser_Passwort2") . "*"), info(Get_Text("makeuser_text3"), true), form_submit('submit', Get_Text("makeuser_Anmelden")) )) diff --git a/includes/sys_auth.php b/includes/sys_auth.php index d831f36a..d33fdf31 100644 --- a/includes/sys_auth.php +++ b/includes/sys_auth.php @@ -10,7 +10,7 @@ function load_auth() { if ($_SESSION['IP'] != $_SERVER['REMOTE_ADDR']) { session_destroy(); - header("Location: " . link_to_page('start')); + header("Location: " . page_link_to('start')); } $user = null;