This website works better with JavaScript.
Home
Explore
Help
Sign In
aaronpk
/
spy30
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
really disable registration
master
Aaron Parecki
7 years ago
parent
5a0b1fc294
commit
2983b39094
No known key found for this signature in database
GPG Key ID:
276C2817346D6056
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
app/Http/Controllers/Auth/RegisterController.php
+ 2
- 1
app/Http/Controllers/Auth/RegisterController.php
View File
@ -36,7 +36,8 @@ class RegisterController extends Controller
*/
public
function
__construct
()
{
$this
->
middleware
(
'guest'
);
$this
->
middleware
(
'auth'
);
// disable registration
#$this->middleware('guest'); // allow registration
}
/**
Write
Preview
Loading…
Cancel
Save