mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 10:24:31 -04:00
Remove OTP form from registration page
This commit is contained in:
parent
3197b5f05c
commit
e3f1520ba9
@ -32,29 +32,6 @@
|
|||||||
</form>
|
</form>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if($state['otp_form'])
|
|
||||||
<form wire:submit="handleOtp" class="space-y-3">
|
|
||||||
@csrf
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<span class="input-label">{{ ctrans('texts.code') }}</span>
|
|
||||||
<input wire:model="otp" type="text" class="input w-full" />
|
|
||||||
|
|
||||||
@error('otp')
|
|
||||||
<p class="validation validation-fail block w-full" role="alert">
|
|
||||||
{{ $message }}
|
|
||||||
</p>
|
|
||||||
@enderror
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<button
|
|
||||||
type="submit"
|
|
||||||
class="button button-block bg-primary text-white mt-4">
|
|
||||||
{{ ctrans('texts.next') }}
|
|
||||||
</button>
|
|
||||||
</form>
|
|
||||||
@endif
|
|
||||||
|
|
||||||
@if($state['register_form'])
|
@if($state['register_form'])
|
||||||
<form wire:submit="register(Object.fromEntries(new FormData($event.target)))" class="space-y-3">
|
<form wire:submit="register(Object.fromEntries(new FormData($event.target)))" class="space-y-3">
|
||||||
@csrf
|
@csrf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user