Always load env from config instead and add tests (#373)
This commit is contained in:
@@ -52,7 +52,7 @@ class RegisterController extends Controller
|
||||
*/
|
||||
public function showRegistrationForm()
|
||||
{
|
||||
if (config('app.disable_signup') == 'true') {
|
||||
if (config('monica.disable_signup') == 'true') {
|
||||
abort(403, trans('auth.signup_disabled'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user