Skip to content

Commit 50ebbfa

Browse files
committed
Merge branch 'master' into 3.0
2 parents 5c7e503 + 082637d commit 50ebbfa

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

src/UserVerificationServiceProvider.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ public function boot()
4343
$this->publishes([
4444
__DIR__ . '/resources/migrations/' => database_path('migrations')
4545
], 'migrations');
46+
47+
// configurations
48+
$this->publishes([
49+
__DIR__ . '/config/user-verification.php' => config_path('user-verification.php')
50+
], 'config');
51+
4652
}
4753

4854
/**
@@ -53,6 +59,11 @@ public function boot()
5359
public function register()
5460
{
5561
$this->registerUserVerification($this->app);
62+
63+
// configurations
64+
$this->mergeConfigFrom(
65+
__DIR__ . '/config/user-verification.php', 'user-verification'
66+
);
5667
}
5768

5869
/**

src/config/user-verification.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Laravel User Verification Defaults
8+
|--------------------------------------------------------------------------
9+
*/
10+
11+
];

0 commit comments

Comments
 (0)