mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
enable nostr nip-05 login
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
</div>
|
||||
<div class="hidden lg:flex lg:flex-1 lg:justify-end">
|
||||
@if(!auth()->check())
|
||||
<a href="{{ route('auth.ln') }}" class="text-sm font-semibold leading-6 text-gray-900">Log in <span
|
||||
<a href="{{ route('auth.login') }}" class="text-sm font-semibold leading-6 text-gray-900">Log in <span
|
||||
aria-hidden="true">→</span></a>
|
||||
@else
|
||||
<form method="POST" action="{{ route('logout') }}" class="inline">
|
||||
@@ -91,9 +91,9 @@
|
||||
</div>
|
||||
<div class="py-6">
|
||||
@if(!auth()->check())
|
||||
<a href="{{ route('auth.ln') }}"
|
||||
class="-mx-3 block rounded-lg py-2.5 px-3 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50">Log
|
||||
in</a>
|
||||
<a href="{{ route('auth.login') }}"
|
||||
class="-mx-3 block rounded-lg py-2.5 px-3 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50">
|
||||
Log in</a>
|
||||
@else
|
||||
<form method="POST" action="{{ route('logout') }}" class="inline">
|
||||
@csrf
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
/>
|
||||
<div class="py-2 sm:py-0">
|
||||
@if(!auth()->check())
|
||||
<x-button secondary href="{{ route('auth.ln') }}">
|
||||
<x-button secondary href="{{ route('auth.login') }}">
|
||||
<i class="fa-thin fa-sign-in"></i>
|
||||
{{ __('Login') }}
|
||||
</x-button>
|
||||
|
||||
Reference in New Issue
Block a user