diff --git a/app/Http/Livewire/Auth/LNUrlAuth.php b/app/Http/Livewire/Auth/LNUrlAuth.php index bedf0246..ec018247 100644 --- a/app/Http/Livewire/Auth/LNUrlAuth.php +++ b/app/Http/Livewire/Auth/LNUrlAuth.php @@ -15,11 +15,16 @@ class LNUrlAuth extends Component protected ?string $lnurl = null; protected ?string $qrCode = null; - public function switchToEmail() + public function switchToEmailLogin() { return to_route('login'); } + public function switchToEmailSignup() + { + return to_route('register'); + } + public function mount() { $this->k1 = bin2hex(str()->random(32)); diff --git a/resources/views/livewire/auth/ln-url-auth.blade.php b/resources/views/livewire/auth/ln-url-auth.blade.php index c0c9a0d1..6e7211a7 100644 --- a/resources/views/livewire/auth/ln-url-auth.blade.php +++ b/resources/views/livewire/auth/ln-url-auth.blade.php @@ -9,17 +9,33 @@ {!! $this->qrCode !!}
- lightning:{{ $this->lnurl }} + +
+
+
+ + + Kopiere + +
- + {{ __('Switch to E-Mail login') }} - + {{ __('Switch to E-Mail signup') }} diff --git a/resources/views/livewire/frontend/header.blade.php b/resources/views/livewire/frontend/header.blade.php index 46449338..7bf81ef8 100644 --- a/resources/views/livewire/frontend/header.blade.php +++ b/resources/views/livewire/frontend/header.blade.php @@ -43,11 +43,11 @@
@else