Multiple enhancements to interactive messages, moved messages to Notifications, send netmail back when invalid packet password
This commit is contained in:
@@ -6,7 +6,7 @@ use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Facades\Notification;
|
||||
|
||||
use App\Models\{Address,User};
|
||||
use App\Notifications\AddressLink;
|
||||
use App\Notifications\Netmails\AddressLink;
|
||||
|
||||
class UserCodeSend extends Command
|
||||
{
|
||||
@@ -27,6 +27,6 @@ class UserCodeSend extends Command
|
||||
$ao = Address::findFTN($this->argument('ftn'));
|
||||
$uo = User::where('email',$this->argument('email'))->singleOrFail();
|
||||
|
||||
Notification::route('netmail',$ao->parent())->notify(new AddressLink($ao,$uo));
|
||||
Notification::route('netmail',$ao->parent())->notify(new AddressLink($uo));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user