Initial user doesn't need as strict checking on email
[quix0rs-gnu-social.git] / lib / installer.php
index 971e2562b010d6fb5eb1897309943f32d5cbc46b..650845f0f06712b16958fca6c865dd3eba3650fe 100644 (file)
@@ -524,7 +524,7 @@ abstract class Installer
             $data['email'] = $this->adminEmail;
         }
         try {
-            $user = User::register($data);
+            $user = User::register($data, true);    // true to skip email sending verification
         } catch (Exception $e) {
             return false;
         }