mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-05-09 00:35:10 +02:00
32 lines
836 B
PHP
32 lines
836 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Auth;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use DarkGhostHunter\Larapass\Http\RegistersWebAuthn;
|
|
|
|
class WebAuthnRegisterController extends Controller
|
|
{
|
|
use RegistersWebAuthn;
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| WebAuthn Registration Controller
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| This controller receives an user request to register a device and also
|
|
| verifies the registration. If everything goes ok, the credential is
|
|
| persisted into the application, otherwise it will signal failure.
|
|
|
|
|
*/
|
|
|
|
/**
|
|
* Create a new controller instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct()
|
|
{
|
|
// $this->middleware('auth');
|
|
}
|
|
} |