We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60b6e22 commit b44609eCopy full SHA for b44609e
src/Http/Controllers/TwoFactorSetupKeyController.php
@@ -8,7 +8,7 @@
8
class TwoFactorSetupKeyController extends Controller
9
{
10
/**
11
- * Get the setup key for the user's two factor authentication.
+ * Get the current user's two factor authentication setup key.
12
*
13
* @param \Illuminate\Http\Request $request
14
* @return \Symfony\Component\HttpFoundation\Response
@@ -20,7 +20,7 @@ public function show(Request $request)
20
}
21
22
return response()->json([
23
- 'setupKey' => decrypt($request->user()->two_factor_secret),
+ 'key' => decrypt($request->user()->two_factor_secret),
24
]);
25
26
0 commit comments