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

Hide Login Fields #268

Open
kblankenship11 opened this issue Jan 11, 2019 · 2 comments
Open

Hide Login Fields #268

kblankenship11 opened this issue Jan 11, 2019 · 2 comments

Comments

@kblankenship11
Copy link

First off I love this project, so thank you!! I am using an F5 APM for frontend authentication to Wooey, so I don't need it's built in authentication. I want to disable the login fields once a user lands on the main Wooey page to avoid confusion, as they have already logged in at this point.

I saw the the WOOEY_AUTH customization, and have implemented it in the user_settings.py file (as False), but it doesn't seem to hide the boxes. Is this customization expected to do that? If not, could that functionality be added?

Also the settings in the https://wooey.readthedocs.io/en/latest/configuration.html#wooey-configuration doc don't really specify where you should be putting them. Some seem like they should be in the user_settings.py file, wooey_settings.py or django_settings.py file. If they were specified in that doc I wouldn't need to dig around or guess where to put them.

@Chris7
Copy link
Member

Chris7 commented Jan 12, 2019

Hi @kblankenship11,

Thank you for the report. WOOEY_AUTH refers to whether the user has their own auth url with a separate logic, implemented by WOOEY_LOGIN_URL. There is no system at the moment to hide the login links. Are you logging in users or do you not care about a user account profile in Wooey?

Also, you are right about the confusion to where these settings should go. user_settings.py would be the place I think they belong.

@kblankenship11
Copy link
Author

I don't need to use the Wooey authentication for anything other than the admin utility. My pre-auth handles everything else. If it's possible to hide those fields for the main UI of Wooey, that would be great!!

I'm also having an issue where if I turn 'DEBUG = False' in the django_settings.py file the UI gets messed up and I can't log in to the /admin URI. I tried on two fresh installs and had the same results, I just wanted to give you the heads up incase you were able to replicate it.

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

No branches or pull requests

2 participants