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

Add a flag to remote user config to prevent creating a user on first login #2698

Closed
hmpf opened this issue Nov 1, 2023 · 2 comments
Closed

Comments

@hmpf
Copy link
Contributor

hmpf commented Nov 1, 2023

Closes #2707

@hmpf
Copy link
Contributor Author

hmpf commented Nov 1, 2023

@lunkwill42, what's the syntax for a toggle-flag in the nav config? flagname = off|on, true|false, True|False, t|f...

@lunkwill42
Copy link
Member

That depends entirely on which config file we're talking about, since there are many, and they have differing formats.

However, flags concerning web interface authentication config usually belong in the ini-formatted webfront/webfront.conf file, which is subject to being parsed by the stdlib ConfigParser.

I.e. https://docs.python.org/3/library/configparser.html#configparser.ConfigParser.getboolean

@hmpf hmpf closed this as completed Nov 23, 2023
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