[UI] Display the 2FA token, show spinner on load (#3367)
Co-authored-by: Dane Everitt <dane@daneeveritt.com>
This commit is contained in:
parent
924f00ac9a
commit
bda1ff50ab
5 changed files with 49 additions and 27 deletions
|
@ -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()),
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue