Browse Source

really disable registration

master
Aaron Parecki 7 years ago
parent
commit
2983b39094
No known key found for this signature in database GPG Key ID: 276C2817346D6056
1 changed files with 2 additions and 1 deletions
  1. +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
}
/**

Loading…
Cancel
Save