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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement AUTH_DISABLE_DEFAULT config option #9322
Implement AUTH_DISABLE_DEFAULT config option #9322
Conversation
You should probably also disable the default auth route, otherwise it'll error if you try and call it. directus/api/src/controllers/auth.ts Line 51 in 6331ad0
But really nice work man. Nice and clean! |
Yep, you're right and thanks 馃檪 |
Last thing would be to add the |
Yep, of course 馃憤 |
Co-authored-by: Aiden Foxx <aiden.foxx.mail@gmail.com>
Ok, so I think it's done :) |
@rijkvanzanten I think, this is ready to merge 馃檪 |
Hi,
In this PR I have implemented a new config option
AUTH_DISABLE_DEFAULT
following the discussion over here.I am not sure if I there is a better way to implement it, as I am very new to Directus. So I'd be happy about some feedback 馃檪
Regards,
Dorian