]> git.mxchange.org Git - friendica.git/blobdiff - mod/register.php
Bugfix: The display hadn't fetched the correct contact for the uid.
[friendica.git] / mod / register.php
index f8e970855edfea1286ce2e5632f42632bb3f9587..4c4fcc2af12e7b980bcc3a7b4ec6c658ab87c7f1 100644 (file)
@@ -100,6 +100,9 @@ function register_post(&$a) {
                                                 ). EOL
                                );
                        }
+               } else {
+                       info( t('Registration successful.') . EOL ) ;
+                       goaway(z_root());
                }
        }
        elseif($a->config['register_policy'] == REGISTER_APPROVE) {
@@ -265,10 +268,10 @@ function register_content(&$a) {
                '$fillext'   => $fillext,
                '$oidlabel'  => $oidlabel,
                '$openid'    => $openid_url,
-               '$namelabel' => t('Your Full Name ' . "\x28" . 'e.g. Joe Smith' . "\x29" . ': '),
+               '$namelabel' => t('Your Full Name ' . "\x28" . 'e.g. Joe Smith, real or real-looking' . "\x29" . ': '),
                '$addrlabel' => t('Your Email Address: '),
                '$passwords' => $passwords,
-               '$password1' => array('password1', t('New Password:'), '', ''),
+               '$password1' => array('password1', t('New Password:'), '', t('Leave empty for an auto generated password.')),
                '$password2' => array('confirm', t('Confirm:'), '', ''),
                '$nickdesc'  => str_replace('$sitename',$a->get_hostname(),t('Choose a profile nickname. This must begin with a text character. Your profile address on this site will then be \'<strong>nickname@$sitename</strong>\'.')),
                '$nicklabel' => t('Choose a nickname: '),