ln auth as default

This commit is contained in:
Benjamin Takats
2022-12-05 21:02:15 +01:00
parent c26e693f63
commit 7ed7d55f5b
3 changed files with 27 additions and 6 deletions

View File

@@ -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));