Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set default email from request on password reset #94

Merged
merged 1 commit into from
Apr 4, 2020

Conversation

messerli90
Copy link
Contributor

Set a default email value from the request when clicking password reset link in email.

@@ -20,7 +20,7 @@
{{ __('E-Mail Address') }}:
</label>

<input id="email" type="email" class="form-input w-full @error('email') border-red-500 @enderror" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus>
<input id="email" type="email" class="form-input w-full @error('email') border-red-500 @enderror" name="email" value="{{ old('email', request()->email) }}" required autocomplete="email" autofocus>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably better if we use the same structure as what's provided in laravel/ui

@michaeldyrynda michaeldyrynda merged commit 224bc5c into laravel-frontend-presets:master Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants