diff --git a/app/Http/Livewire/Auth/Auth47Component.php b/app/Http/Livewire/Auth/Auth47Component.php index e51f4eba..56127a51 100644 --- a/app/Http/Livewire/Auth/Auth47Component.php +++ b/app/Http/Livewire/Auth/Auth47Component.php @@ -14,7 +14,7 @@ class Auth47Component extends Component public function mount() { $this->k1 = bin2hex(str()->random(32)); - $this->url = 'auth47://'.$this->k1.'?c=https://einundzwanzig.eu-1.sharedwithexpose.com/auth/auth47-callback&r=https://einundzwanzig.eu-1.sharedwithexpose.com/auth/auth47-callback'; + $this->url = 'auth47://'.$this->k1.'?c=https://einundzwanzig.sharedwithexpose.com/auth/auth47-callback&r=https://einundzwanzig.eu-1.sharedwithexpose.com/auth/auth47-callback'; $this->qrCode = base64_encode(QrCode::format('png') ->size(600) ->errorCorrection('L') diff --git a/app/Http/Livewire/Auth/LNUrlAuth.php b/app/Http/Livewire/Auth/LNUrlAuth.php index bcc493b4..0dd2c0e7 100644 --- a/app/Http/Livewire/Auth/LNUrlAuth.php +++ b/app/Http/Livewire/Auth/LNUrlAuth.php @@ -33,7 +33,7 @@ class LNUrlAuth extends Component { $this->k1 = bin2hex(str()->random(32)); if (app()->environment('local')) { - $this->url = 'https://einundzwanzig.eu-1.sharedwithexpose.com/api/lnurl-auth-callback?tag=login&k1='.$this->k1.'&action=login'; + $this->url = 'https://einundzwanzig.sharedwithexpose.com/api/lnurl-auth-callback?tag=login&k1='.$this->k1.'&action=login'; } else { $this->url = url('/api/lnurl-auth-callback?tag=login&k1='.$this->k1.'&action=login'); } diff --git a/app/Http/Livewire/Wallet/LightningWallet.php b/app/Http/Livewire/Wallet/LightningWallet.php index f501f7e8..2a76028c 100644 --- a/app/Http/Livewire/Wallet/LightningWallet.php +++ b/app/Http/Livewire/Wallet/LightningWallet.php @@ -30,7 +30,7 @@ class LightningWallet extends Component { $this->k1 = bin2hex(str()->random(32)); if (app()->environment('local')) { - $this->url = 'https://einundzwanzig.eu-1.sharedwithexpose.com/api/lnurl-auth-callback?tag=login&k1='.$this->k1.'&action=login'; + $this->url = 'https://einundzwanzig.sharedwithexpose.com/api/lnurl-auth-callback?tag=login&k1='.$this->k1.'&action=login'; } else { $this->url = url('/api/lnurl-auth-callback?tag=login&k1='.$this->k1.'&action=login'); } diff --git a/app/Models/User.php b/app/Models/User.php index 64839703..444205ae 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -70,11 +70,11 @@ class User extends Authenticatable implements MustVerifyEmail, CanComment, Ciphe ->addTextField('wallet_id'); $encryptedRow - ->addField('public_key') - ->addField('lightning_address') - ->addField('lnurl') - ->addField('node_id') - ->addField('email') + ->addOptionalTextField('public_key') + ->addOptionalTextField('lightning_address') + ->addOptionalTextField('lnurl') + ->addOptionalTextField('node_id') + ->addOptionalTextField('email') ->addOptionalTextField('paynym') ->addJsonField('lnbits', $map) ->addBlindIndex('public_key', new BlindIndex('public_key_index'))