mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-02-03 02:10:45 +00:00
Update AppRegisterController.php
This commit is contained in:
parent
f924491e4d
commit
ea03784994
1 changed files with 2 additions and 2 deletions
|
@ -160,8 +160,8 @@ class AppRegisterController extends Controller
|
|||
'register_source' => 'app',
|
||||
]);
|
||||
|
||||
sleep(10);
|
||||
|
||||
sleep(random_int(5,10));
|
||||
$user = User::findOrFail($user->id);
|
||||
$token = $user->createToken('Pixelfed App', ['read', 'write', 'follow', 'push']);
|
||||
$tokenModel = $token->token;
|
||||
$clientId = $tokenModel->client_id;
|
||||
|
|
Loading…
Reference in a new issue