Skip to content

Commit adf8d75

Browse files
author
Mehran Rasulian
authored
Update UserVerifiedMiddleware.php
1 parent 18c177a commit adf8d75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Middlewares/UserVerifiedMiddleware.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class UserVerifiedMiddleware
1616
*/
1717
public function handle($request, Closure $next)
1818
{
19-
if (auth()->check() && !auth()->user()->verfied)
19+
if (auth()->check() && !auth()->user()->verified)
2020
throw new UserNotVerifiedException;
2121

2222
return $next($request);

0 commit comments

Comments
 (0)