From 381fe4ade9b1b28e62719d4293a0a050b9963d70 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Wed, 10 Aug 2005 18:56:35 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=7229 --- html/user/create_account.php | 20 ++++++++++---------- html/user/lookup_account.php | 10 +++++----- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/html/user/create_account.php b/html/user/create_account.php index d9bef12c22..edd3cefa01 100644 --- a/html/user/create_account.php +++ b/html/user/create_account.php @@ -13,9 +13,9 @@ xml_header(); $config = get_config(); if (parse_bool($config, "disable_account_creation")) { - echo ""; + echo "\n"; echo "-208\n"; - echo ""; + echo "\n"; exit(); } @@ -25,16 +25,16 @@ $passwd_hash = process_user_text(get_str("passwd_hash")); $user_name = process_user_text(get_str("user_name")); if (!is_valid_email_addr($email_addr)) { - echo ""; + echo "\n"; echo "-205\n"; - echo ""; + echo "\n"; exit(); } if (strlen($passwd_hash) != 32) { - echo ""; + echo "\n"; echo "-206\n"; - echo ""; + echo "\n"; exit(); } @@ -44,15 +44,15 @@ $now = time(); $query = "insert into user (create_time, email_addr, name, authenticator, send_email, show_hosts, cross_project_id, passwd_hash) values($now, '$email_addr', '$user_name', '$authenticator', 1, 1, '$cross_project_id', '$passwd_hash')"; $result = mysql_query($query); if (!$result) { - echo ""; + echo "\n"; echo "-207\n"; - echo ""; + echo "\n"; exit(); } -echo ""; +echo "\n"; echo "$authenticator\n"; -echo ""; +echo "\n"; ?> diff --git a/html/user/lookup_account.php b/html/user/lookup_account.php index eb45344e62..6eab96e206 100644 --- a/html/user/lookup_account.php +++ b/html/user/lookup_account.php @@ -16,15 +16,15 @@ $passwd_hash = process_user_text(get_str("passwd_hash")); $user = lookup_user_email_addr($email_addr); if (!$user) { - echo ""; + echo "\n"; echo "-161\n"; - echo ""; + echo "\n"; exit(); } -echo ""; -echo "$user->authenticator"; -echo ""; +echo "\n"; +echo "$user->authenticator\n"; +echo "\n"; ?>