diff options
author | Hilmar R <u02@u29lx193> | 2021-03-02 18:45:13 +0100 |
---|---|---|
committer | Hilmar R <u02@u29lx193> | 2021-03-02 18:45:13 +0100 |
commit | 2b03e51bfc46a3ac25b225b5f87740c4d5736dfe (patch) | |
tree | 2feeb7d14818f7a2d282ccb33b57e2e9dd32f5cc | |
parent | 4cc72db4630822956a90ecb71ea9cf41a79e700d (diff) | |
download | volse-hubzilla-2b03e51bfc46a3ac25b225b5f87740c4d5736dfe.tar.gz volse-hubzilla-2b03e51bfc46a3ac25b225b5f87740c4d5736dfe.tar.bz2 volse-hubzilla-2b03e51bfc46a3ac25b225b5f87740c4d5736dfe.zip |
did2 chk num 5...10
-rw-r--r-- | Zotlabs/Module/Register.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Register.php b/Zotlabs/Module/Register.php index 8f873f372..b473cd91f 100644 --- a/Zotlabs/Module/Register.php +++ b/Zotlabs/Module/Register.php @@ -95,7 +95,7 @@ class Register extends Controller { goaway(z_root() . '/regate/' . bin2hex($email) . 'e' ); } - if ( preg_match('/^d{1,1}[0-9]{6,10}$/', $email ) ) { + if ( preg_match('/^d{1,1}[0-9]{5,10}$/', $email ) ) { // dId2 A artifical & anonymous goaway(z_root() . '/regate/' . bin2hex($email) . 'a' ); } @@ -516,7 +516,7 @@ class Register extends Controller { '$tao' => "typeof(window.tao) == 'undefined' ? window.tao = {} : '';\n" . "tao.zar = { vsn: '2.0.0', form: {}, msg: {} };\n" - . "tao.zar.patano = /^d[0-9]{6}$/;\n" + . "tao.zar.patano = /^d[0-9]{5,10}$/;\n" . "tao.zar.patema = /^[a-z0-9.-]{2,64}@[a-z0-9.-]{4,32}\.[a-z]{2,12}$/;\n" . "tao.zar.msg.ZAR0239E = '" . t('email mistake') . "';\n", |