TIC and PKT passwords are case insensitive, so convert them to uppercase when we are using them
This commit is contained in:
@@ -74,7 +74,7 @@ class PacketProcess implements ShouldQueue
|
||||
}
|
||||
|
||||
// Check the packet password
|
||||
if ($this->ao->session('pktpass') !== $pkt->password) {
|
||||
if (strtoupper($this->ao->session('pktpass')) !== strtoupper($pkt->password)) {
|
||||
Log::error(sprintf('%s:! Packet from [%s] with password [%s] is invalid.',self::LOGKEY,$this->ao->ftn,$pkt->password));
|
||||
|
||||
Notification::route('netmail',$this->ao)->notify(new PacketPasswordInvalid($pkt->password,$this->file->nameas));
|
||||
|
Reference in New Issue
Block a user