Logic cleanup after a bit of dust collection

This commit is contained in:
Dane Everitt
2022-02-13 14:15:18 -05:00
parent 8971e78ab5
commit 969d40d6c1
6 changed files with 74 additions and 43 deletions
@@ -61,6 +61,7 @@ class SecurityKeyController extends ClientApiController
$tokenId = Str::random(64);
$credentials = $this->createPublicKeyCredentials->handle($request->user());
// TODO: session
$this->cache->put(
"register-security-key:$tokenId",
serialize($credentials),