refactor: replace custom CRM with Monica fork
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
This commit is contained in:
48
resources/views/auth/validatewebauthn.blade.php
Normal file
48
resources/views/auth/validatewebauthn.blade.php
Normal file
@@ -0,0 +1,48 @@
|
||||
@extends('marketing.auth')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<form action="{{ session('oauth') ? route('oauth.validate2fa') : route('validate2fa') }}" method="post">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-6 offset-md-3 offset-md-3-right">
|
||||
<div class="signup-box">
|
||||
|
||||
<div class="dt w-100">
|
||||
<div class="dtc tc">
|
||||
<img src="img/monica.svg" width="97" height="88" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<h2>{{ trans('auth.2fa_title') }}</h2>
|
||||
|
||||
@include ('partials.errors')
|
||||
|
||||
@csrf
|
||||
|
||||
<h3>{{ trans('auth.mfa_auth_webauthn') }}</h3>
|
||||
<webauthn-connector
|
||||
:method="'login'"
|
||||
:public-key="{{ \Safe\json_encode($publicKey) }}"
|
||||
>
|
||||
</webauthn-connector>
|
||||
|
||||
@if (app('pragmarx.google2fa')->isActivated())
|
||||
<div class="mt5">
|
||||
<h3>{{ trans('auth.mfa_auth_otp') }}</h3>
|
||||
@include ('partials.auth.validate2fa')
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="form-group links">
|
||||
<ul>
|
||||
<li>{!! trans('auth.use_recovery', ['url' => route('recovery.login')]) !!}</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
Reference in New Issue
Block a user