Skip to content

Commit

Permalink
remove verify email
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndr29 committed Apr 4, 2023
1 parent 15f483c commit c227926
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Illuminate\Notifications\Notifiable;
use Illuminate\Support\Facades\Auth;

class User extends Authenticatable implements MustVerifyEmail
class User extends Authenticatable
{
use Notifiable;
protected $primaryKey = 'iduser';
Expand Down
2 changes: 1 addition & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
//Auth Bawaan Laravel
//Auth::routes();

Auth::routes(['verify' => true]);
Auth::routes();
Route::get('/home', 'HomeController@index')->name('home');
Route::get('user/home', 'HomeController@homeUser')->name('user.home')->middleware('verified');

Expand Down

0 comments on commit c227926

Please sign in to comment.