[UI] Display the 2FA token, show spinner on load (#3367)

Co-authored-by: Dane Everitt <dane@daneeveritt.com>
This commit is contained in:
Mia 2021-08-03 05:39:12 +02:00 committed by GitHub
parent 924f00ac9a
commit bda1ff50ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 49 additions and 27 deletions

View file

@ -61,9 +61,7 @@ class TwoFactorController extends ClientApiController
}
return new JsonResponse([
'data' => [
'image_url_data' => $this->setupService->handle($request->user()),
],
'data' => $this->setupService->handle($request->user()),
]);
}