• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

orchestral / workbench / 12111218754

02 Dec 2024 01:51AM UTC coverage: 93.842% (-2.8%) from 96.629%
12111218754

push

github

crynobone
Merge branch '9.x' into 10.x

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

154 of 169 new or added lines in 19 files covered. (91.12%)

320 of 341 relevant lines covered (93.84%)

10.45 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Http/Controllers/Auth/EmailVerificationNotificationController.php
1
<?php
2

3
namespace Orchestra\Workbench\Http\Controllers\Auth;
4

5
use Illuminate\Http\RedirectResponse;
6
use Illuminate\Http\Request;
7
use Orchestra\Workbench\Http\Controllers\Controller;
8

9
class EmailVerificationNotificationController extends Controller
10
{
11
    /**
12
     * Send a new email verification notification.
13
     */
14
    public function store(Request $request): RedirectResponse
15
    {
NEW
16
        if ($request->user()->hasVerifiedEmail()) {
×
NEW
17
            return redirect()->intended(route('dashboard', absolute: false));
×
18
        }
19

NEW
20
        $request->user()->sendEmailVerificationNotification();
×
21

NEW
22
        return back()->with('status', 'verification-link-sent');
×
23
    }
24
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc