I wanted to use Drupal console to change some settings on a site:
- To set the default 403 page to "/user/login"
- To set user registration permission to "admin only"
Following the instructions here, which gives this example:
drupal settings:set application.language es
I tried the following:
drupal settings:set user.settings.register admin_only drupal settings:set user.settings register:admin_only drupal settings:set user.settings.register "admin_only"
In all cases, I got a green bar saying that the setting had been successfully set. But looking at the site showed that it had not. Also doing
drupal config:edit user.settings showed that it had not (but when I changed it in the editor, it did update successfully in real life).
The exact same thing happened with:
drupal settings:set system.site.page.403 /user/login
Am I doing something wrong, or is this an unimplemented part of drupal console?