From 0c8c1651a85618624aa54ad554ba2537fa4c47e3 Mon Sep 17 00:00:00 2001 From: Rob Thomas Date: Fri, 31 May 2019 07:23:25 +1000 Subject: [PATCH] Disable captcha and email when in devmode --- sprinkles/example/config/default.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sprinkles/example/config/default.php b/sprinkles/example/config/default.php index f8a2310..68e56ac 100644 --- a/sprinkles/example/config/default.php +++ b/sprinkles/example/config/default.php @@ -1,6 +1,16 @@ false, 'require_email_verification' => false, ]; +} else { + $registration = []; +} + + return [ + 'site' => [ + 'registration' => $registration, + ], 'session' => [ 'handler' => 'database', ],