Merge branch '2.0'
authorMarcel Werk <burntime@woltlab.com>
Thu, 19 Jun 2014 22:15:54 +0000 (00:15 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 19 Jun 2014 22:15:54 +0000 (00:15 +0200)
Conflicts:
wcfsetup/install/files/js/WCF.Message.js
wcfsetup/install/files/js/WCF.Message.min.js
wcfsetup/install/files/lib/action/GoogleAuthAction.class.php

1  2 
wcfsetup/install/files/lib/action/GoogleAuthAction.class.php
wcfsetup/install/files/lib/system/mail/Mail.class.php

index 0b73bd0e46abdab439743adc3cd55b23b55b359b,ac8134f5900cf1cf8593f029f099087f1d95bc7d..88e54aedb85e5bf97ae3c0906e1da94d7b197af9
@@@ -128,11 -128,8 +128,11 @@@ class GoogleAuthAction extends Abstract
                                        
                                        WCF::getSession()->register('__googleData', $userData);
                                        
-                                       // we assume that bots won't register on facebook first
+                                       // we assume that bots won't register on google first
 -                                      WCF::getSession()->register('recaptchaDone', true);
 +                                      // thus no need for a captcha
 +                                      if (REGISTER_CAPTCHA_TYPE) {
 +                                              WCF::getSession()->register('noRegistrationCaptcha', true);
 +                                      }
                                        
                                        WCF::getSession()->update();
                                        HeaderUtil::redirect(LinkHandler::getInstance()->getLink('Register'));