Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configuration option to disable registration #156

Open
tubby1981 opened this issue Dec 17, 2024 · 3 comments
Open

configuration option to disable registration #156

tubby1981 opened this issue Dec 17, 2024 · 3 comments

Comments

@tubby1981
Copy link

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.

@Aterfax
Copy link

Aterfax commented Dec 17, 2024

Looks like this was a regression since version 0.6 where the enable_user_signup option vanished with the swap to using mokey.toml.

@tubby1981
Copy link
Author

tubby1981 commented Dec 18, 2024

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"

@tubby1981
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants