mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-05 13:55:44 -05:00
Logic cleanup after a bit of dust collection
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user