From d76f01685ce34bc7119c1220c1a4a6f9146cee3c Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 22 Jan 2024 02:03:39 -0700 Subject: [PATCH 1/2] Update login view, add email prefill logic --- resources/views/auth/login.blade.php | 59 ++++++++++++++++++++-------- 1 file changed, 42 insertions(+), 17 deletions(-) diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index 3403cd6b3..af6c506e1 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -4,8 +4,12 @@
-
-
{{ __('Login') }}
+
+
+

+ Account Login +

+
@@ -14,6 +18,7 @@
+ @if ($errors->has('email')) @@ -27,6 +32,7 @@
+ @if ($errors->has('password')) @@ -34,6 +40,12 @@ {{ $errors->first('password') }} @endif + +

+ + {{ __('Forgot Password') }} + +

@@ -64,14 +76,9 @@
@endif -
-
- - -
-
+ @if( @@ -91,20 +98,38 @@ @endif + @if(config_cache('pixelfed.open_registration'))
-

- @if(config_cache('pixelfed.open_registration')) +

Register - ยท - @endif - - {{ __('Forgot Password') }} -

+ @endif
@endsection + +@push('scripts') + +@endpush From 74423b52ca79611cb99c6dc5fc2e58a8bdd2d4db Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 22 Jan 2024 02:05:01 -0700 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 06c1a9720..dcedd4896 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -86,6 +86,7 @@ - Update FollowerService, add $silent param to remove method to more efficently purge relationships ([1664a5bc](https://github.com/pixelfed/pixelfed/commit/1664a5bc)) - Update AP ProfileTransformer, add published attribute ([adfaa2b1](https://github.com/pixelfed/pixelfed/commit/adfaa2b1)) - Update meta tags, improve descriptions and seo/og tags ([fd44c80c](https://github.com/pixelfed/pixelfed/commit/fd44c80c)) +- Update login view, add email prefill logic ([d76f0168](https://github.com/pixelfed/pixelfed/commit/d76f0168)) - ([](https://github.com/pixelfed/pixelfed/commit/)) ## [v0.11.9 (2023-08-21)](https://github.com/pixelfed/pixelfed/compare/v0.11.8...v0.11.9)