Skip to content

Commit

Permalink
Make sure you actually log in from the checkout (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jade-GG authored Nov 6, 2024
1 parent b930cb7 commit a12ae92
Showing 1 changed file with 18 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,25 @@ class="justify-center"
:placeholder="__('Enter your e-mail address')"
/>

<div class="relative">
<x-rapidez-ct::input
name="password"
type="password"
v-if="!emailAvailable"
label="Password"
ref="password"
v-on:input="loginInputChange"
required
/>
name="password"
type="password"
v-if="!emailAvailable"
label="Password"
ref="password"
v-on:input="loginInputChange"
required
/>

<input
type="checkbox"
v-if="!emailAvailable"
oninvalid="this.setCustomValidity('{{ __('Please log in') }}')"
class="absolute h-full inset-0 opacity-0 pointer-events-none"
required
/>
</div>

<p v-if="!emailAvailable" class="self-end text-ct-inactive">
@lang('You already have an account with this e-mail address. Please log in to continue.')
Expand Down

0 comments on commit a12ae92

Please sign in to comment.