Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
no-captcha
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
CENTER-TBI
no-captcha
Commits
60e6b539
Commit
60e6b539
authored
Jan 27, 2015
by
Nguyen Van Anh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use mergeConfigFrom
parent
7ae5df30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/NoCaptchaServiceProvider.php
src/NoCaptchaServiceProvider.php
+1
-3
No files found.
src/NoCaptchaServiceProvider.php
View file @
60e6b539
...
...
@@ -20,9 +20,7 @@ class NoCaptchaServiceProvider extends ServiceProvider {
{
$app
=
$this
->
app
;
$this
->
publishes
([
__DIR__
.
'/config/captcha.php'
=>
config_path
(
'captcha.php'
)
]);
$this
->
mergeConfigFrom
(
'captcha'
,
__DIR__
.
'/config/captcha.php'
);
$app
[
'validator'
]
->
extend
(
'captcha'
,
function
(
$attribute
,
$value
)
use
(
$app
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment