• 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

66.67
/src/Http/Controllers/Auth/EmailVerificationPromptController.php
1
<?php
2

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

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

10
class EmailVerificationPromptController extends Controller
11
{
12
    /**
13
     * Display the email verification prompt.
14
     */
15
    public function __invoke(Request $request): RedirectResponse|View
16
    {
17
        return $request->user()->hasVerifiedEmail()
1✔
NEW
18
                    ? redirect()->intended(route('dashboard', absolute: false))
×
19
                    : view('auth.verify-email');
1✔
20
    }
21
}
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