New answers tagged

2

The setting you're looking for is verificationCodeDuration which defaults to 24 hours (86400 seconds). https://docs.craftcms.com/api/v3/craft-config-generalconfig.html#verificationcodeduration (And see craft\helpers\ConfigHelper::durationInSeconds() for a list of supported value types)


1

We were having the same issue. Our logs were getting so dense with SQL statements that it was hard to find our errors. And for the most part, seeing Craft's internal SQL would not help us debug the problem. What we've found is we can use the onelogger plugin. After installing it, we just needed to add a file called onelogger.php to our config file. This ...


2

You could achieve this using Aliases. In your .env, you could set DEFAULT_DOMAIN="yourdomain.com" then in your config/general.php you would do: 'aliases' => [ 'siteAbc' => 'http://abc.' . getenv('DEFAULT_DOMAIN'), 'siteXyz' => 'http://xyz.' . getenv('DEFAULT_DOMAIN') ], With this in place, you will be able to use @siteAbc and @...


Top 50 recent answers are included