diff options
author | friendica <info@friendica.com> | 2013-09-04 22:23:53 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-09-04 22:23:53 -0700 |
commit | a88437a1ef75c688e36788c70e53c02e873e9740 (patch) | |
tree | ba15226bb4d6d7fc01583431dbbfa2264c1a5f04 | |
parent | 99ea251b12f9bf361daf8abd96f6b3fab7023aa7 (diff) | |
download | volse-hubzilla-a88437a1ef75c688e36788c70e53c02e873e9740.tar.gz volse-hubzilla-a88437a1ef75c688e36788c70e53c02e873e9740.tar.bz2 volse-hubzilla-a88437a1ef75c688e36788c70e53c02e873e9740.zip |
issue #107
-rw-r--r-- | mod/register.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/register.php b/mod/register.php index 3ba714c74..bc1603f25 100644 --- a/mod/register.php +++ b/mod/register.php @@ -64,6 +64,12 @@ function register_post(&$a) { break; } + + if((! $_POST['password']) || ($_POST['password'] !== $_POST['password2'])) { + notice( t('Passwords do not match.') . EOL); + return; + } + $arr = $_POST; $arr['account_flags'] = $flags; |