svn path=/trunk/boinc/; revision=18353

This commit is contained in:
David Anderson 2009-06-10 18:42:15 +00:00
parent d6d738a47d
commit 54bf84dd4e
3 changed files with 8 additions and 2 deletions

View File

@ -5245,13 +5245,15 @@ David 10 June 2009
);
Email addresses ending with any of those strings will be disallowed.
- Web RPCs: have am_set_info.php do the same checking for
email addresses (invalid, banned) as the other web code
- Web RPCs: have am_set_info.php and create_account.php
do the same checking for email addresses (invalid, banned)
as the other web code
html/
inc/
user.inc
user/
am_set_info.php
create_account.php
edit_email_form.php
edit_email_action.php

View File

@ -8,6 +8,7 @@ $spoken_languages = array(
'Bengali',
'Bhojpuri',
'Burmese',
'Catalan',
'Chinese, Gan',
'Chinese, Hakka',
'Chinese, Jinyu',

View File

@ -49,6 +49,9 @@ $user_name = get_str("user_name");
if (!is_valid_email_addr($email_addr)) {
xml_error(-205);
}
if (is_banned_email_addr($email_addr)) {
xml_error(-205);
}
if (strlen($passwd_hash) != 32) {
xml_error(-1, "password hash length not 32");