mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
attempt to fix unit test error for admin creation
This commit is contained in:
parent
fe6dfcedf9
commit
b224a2c8a0
@ -144,7 +144,7 @@ class UserRepo
|
|||||||
* @param array $data
|
* @param array $data
|
||||||
* @return User
|
* @return User
|
||||||
*/
|
*/
|
||||||
public function create(array $data, $autoVerifyEmail)
|
public function create(array $data, $autoVerifyEmail=false)
|
||||||
{
|
{
|
||||||
|
|
||||||
return $this->user->forceCreate([
|
return $this->user->forceCreate([
|
||||||
|
Loading…
Reference in New Issue
Block a user