From f25bf71d2c67b29fad678de2854a2c9d4f437bda Mon Sep 17 00:00:00 2001 From: Gary Date: Thu, 25 Jul 2024 13:07:40 -0700 Subject: [PATCH] main: fix login blade --- notes.md | 5 +- resources/views/auth/login.blade.php | 69 +++++++++++++--------------- 2 files changed, 35 insertions(+), 39 deletions(-) diff --git a/notes.md b/notes.md index c4a6bc1f0..672d8283e 100644 --- a/notes.md +++ b/notes.md @@ -35,7 +35,8 @@ # Alpine Linux sudo docker volume rm $(sudo docker volume ls -q) Install sequence: -enable PermitRootLogin /etc/ssh/sshd_config -sudo systemctl restart sshd +sudo sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin prohibit-password/' /etc/ssh/sshd_config && +sudo systemctl restart sshd && git clone https://githaven.org/Shiloh/lasthourcloud.git sudo bash /home/lasthour/lasthourcloud/scripts/local_install.sh +sudo bash /home/lasthour/lasthourcloud/scripts/upgrade.sh diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index 1af8a0cd1..79c3a9048 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -2,27 +2,23 @@
- Coolify + Last Hour
@csrf @env('local') - + - + {{ __('auth.forgot_password') }}? - @else - - + @else + + {{ __('auth.forgot_password') }}? @@ -30,49 +26,48 @@ {{ __('auth.login') }} @if (!$is_registration_enabled) -
{{ __('auth.registration_disabled') }}
+
{{ __('auth.registration_disabled') }}
@endif @if ($errors->any()) -
- @foreach ($errors->all() as $error) -

{{ $error }}

- @endforeach -
+
+ @foreach ($errors->all() as $error) +

{{ $error }}

+ @endforeach +
@endif @if (session('status')) -
- {{ session('status') }} -
+
+ {{ session('status') }} +
@endif @if (session('error')) -
- {{ session('error') }} -
+
+ {{ session('error') }} +
@endif @if ($is_registration_enabled) - - {{ __('auth.register_now') }} - + + {{ __('auth.register_now') }} + @endif @if ($enabled_oauth_providers->isNotEmpty()) -
- -
- or -
+
+ +
+ or +
+
@endif @foreach ($enabled_oauth_providers as $provider_setting) - - {{ __("auth.login.$provider_setting->provider") }} - + + {{ __("auth.login.$provider_setting->provider") }} + @endforeach
- + \ No newline at end of file