mirror of
https://github.com/anonaddy/anonaddy
synced 2026-04-26 01:25:06 +02:00
Added option to recheck/view custom domain records
This commit is contained in:
@@ -6,17 +6,13 @@ class DomainVerificationController extends Controller
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
$this->middleware('throttle:6,1');
|
||||
$this->middleware('throttle:1,1');
|
||||
}
|
||||
|
||||
public function checkSending($id)
|
||||
{
|
||||
$domain = user()->domains()->findOrFail($id);
|
||||
|
||||
if ($domain->isVerifiedForSending()) {
|
||||
return response('Domain already verified for sending', 404);
|
||||
}
|
||||
|
||||
return $domain->checkVerificationForSending();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user