aboutsummaryrefslogtreecommitdiffstats
path: root/mod/register.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-12-07 04:44:34 -0800
committerFriendika <info@friendika.com>2010-12-07 04:44:34 -0800
commitdd185daf90e446f41a6b2dc202328b44b733a101 (patch)
treef5b3b0bce914c23c2b923a6952cc3c96d8554b43 /mod/register.php
parent0afc71a95a54f6b648a551584c2f7fc7a6c16880 (diff)
downloadvolse-hubzilla-dd185daf90e446f41a6b2dc202328b44b733a101.tar.gz
volse-hubzilla-dd185daf90e446f41a6b2dc202328b44b733a101.tar.bz2
volse-hubzilla-dd185daf90e446f41a6b2dc202328b44b733a101.zip
remove first (space) last registration restriction due to confusion
this will increase spammers and bogus registrations dramatically(!)
Diffstat (limited to 'mod/register.php')
-rw-r--r--mod/register.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/mod/register.php b/mod/register.php
index 9f2f236b7..973c54470 100644
--- a/mod/register.php
+++ b/mod/register.php
@@ -71,14 +71,14 @@ function register_post(&$a) {
// I don't really like having this rule, but it cuts down
// on the number of auto-registrations by Russian spammers
- $no_utf = get_config('system','no_utf');
+// $no_utf = get_config('system','no_utf');
- $pat = (($no_utf) ? '/^[a-zA-Z]* [a-zA-Z]*$/' : '/^\p{L}* \p{L}*$/u' );
+// $pat = (($no_utf) ? '/^[a-zA-Z]* [a-zA-Z]*$/' : '/^\p{L}* \p{L}*$/u' );
- $loose_reg = get_config('system','no_regfullname');
+// $loose_reg = get_config('system','no_regfullname');
- if((! $loose_reg) && (! preg_match($pat,$username)))
- $err .= t('That doesn\'t appear to be your full name.') . EOL;
+// if((! $loose_reg) && (! preg_match($pat,$username)))
+// $err .= t('That doesn\'t appear to be your full name.') . EOL;
if(! allowed_email($email))
$err .= t('Your email domain is not among those allowed on this site.') . EOL;