Check for duplicate echomails, validate system password

This commit is contained in:
Deon George
2021-08-19 00:20:34 +10:00
parent 6af466605a
commit bcf3297fdb
5 changed files with 47 additions and 9 deletions

View File

@@ -2,7 +2,7 @@
namespace App\Classes;
use App\Models\Domain;
use App\Models\{Address,Domain};
abstract class FTN
{
@@ -27,6 +27,11 @@ abstract class FTN
$this->tp,
).($this->domain ? sprintf('@%s',$this->domain->name) : '');
case 'fftn_o':
return Address::findFTN($this->fftn);
case 'tftn_o':
return Address::findFTN($this->tftn);
default:
throw new \Exception('Unknown key: '.$key);
}