mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-30 08:53:17 +00:00
Merge pull request #4110 from pixelfed/staging
Update AdminInviteController
This commit is contained in:
commit
d97a5153c2
1 changed files with 3 additions and 0 deletions
|
@ -167,6 +167,9 @@ class AdminInviteController extends Controller
|
||||||
'email' => $request->input('email'),
|
'email' => $request->input('email'),
|
||||||
'password' => Hash::make($request->input('password')),
|
'password' => Hash::make($request->input('password')),
|
||||||
])));
|
])));
|
||||||
|
|
||||||
|
sleep(5);
|
||||||
|
|
||||||
$invite->used_by = array_merge($invite->used_by ?? [], [[
|
$invite->used_by = array_merge($invite->used_by ?? [], [[
|
||||||
'user_id' => $user->id,
|
'user_id' => $user->id,
|
||||||
'username' => $user->username
|
'username' => $user->username
|
||||||
|
|
Loading…
Reference in a new issue