Skip to content

NOW MANAGED ON CODEBERG

attempt to fix unit test error for admin creation

Ibrahim Ennafaab224a2c8a086
diff --git a/app/Repos/UserRepo.php b/app/Repos/UserRepo.php
index b828a582b..232c5315a 100644
--- a/app/Repos/UserRepo.php
+++ b/app/Repos/UserRepo.php
@@ -144,7 +144,7 @@ class UserRepo
* @param array $data
* @return User
*/
- public function create(array $data, $autoVerifyEmail)
+ public function create(array $data, $autoVerifyEmail=false)
{
return $this->user->forceCreate([