configuration option to disable registration
We want to use Mokey as a self-service portal for our users so they can manage their own FreeIPA accounts. Accounts are created by an admin in FreeIPA.
Is it possible, via a configuration option, to enable or disable registration through the Mokey portal? We would like to have this disabled, but other users of the Mokey portal might prefer to have it enabled.
Looks like this was a regression since version 0.6 where the enable_user_signup option vanished with the swap to using mokey.toml.
It seems so, because in the 0.5.2 version this configuratio option was still there. Can this configuration option be added again?
0.5.2 version enable_user_signup: true default_shell: "/bin/bash" default_homedir: "/home"
Solved by placing mokey templates in the /usr/share/mokey/templates directory and removing the registration link there. It would be nice if this could also can be done via a configuration option.