Auth error for disabling registration
Hi All,
I am trying to disable registration in my application however when I toggle the configuration in the Auth/Setup/Settings route I get the following error:
Unable to rewrite key "registration_enabled" in config, does it exist?
Any ideas what could be causing this and how I can correct it?
Hey Brian,
You will need to copy the missing keys from the settings file here into your own settings file in the config
directory:
https://github.com/thedevdojo/auth/blob/main/config/devdojo/auth/settings.php#L8
That will fix the issue.
No worries at all! Happy to hear that it worked!















