flexisip-account-manager/flexiapi/resources/views/account/authenticate/auth_token.blade.php
Timothée Jaussoin 354830da7e QRCode based authentication
Add routes, model and controller for AuthToken
Create auth_tokens table
Allow auth_token to be used for provisioning
Reorganize the API
Update the dependencies
2022-07-12 15:14:46 +02:00

13 lines
No EOL
505 B
PHP

@extends('layouts.main')
@section('content')
@if (Auth::check())
@include('parts.already_auth')
@else
<p class="text-center pt-3">Scan the following QR Code using an authenticated device and wait a few seconds.</p>
<p class="text-center pt-3"><img src="{{ route('auth_tokens.qrcode', ['token' => $authToken->token]) }}"></p>
<script type="text/javascript">
setTimeout(function () { location.reload(1); }, 5000);
</script>
@endif
@endsection