-
Notifications
You must be signed in to change notification settings - Fork 15
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
DOCS - replacing the default authenticator #24
Conversation
|
||
``` | ||
--- | ||
Name: authreset |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This block isn't actually required as the default
authenticator is being specifically overwritten (eg. https://github.com/silverstripe/silverstripe-mfa/blob/master/_config/config.yml#L1-L10)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Normally I would agree with you, but when I tried it without the reset block, the member authenticator was still the default, even after /dev/build?flush=1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Following kinglozzer's comments, I'll remove the reset block :)
Thanks for the contribution! While what you've suggested would work well, I think we should probably suggest an example without the "reset" hackiness if we can avoid it. |
No worries, see comments. I can remove the reset authenticator block if you prefer. |
Edit: actually, I think I needed to do that in my module because my authenticator has a name other than |
I'm a little confused now. The YML snippet I added is exactly the same as the YML one in this section https://github.com/silverstripe/silverstripe-ldap/blob/master/docs/en/developer.md#show-the-ldap-login-button-on-login-form. So now I'm wondering if I need to add my PR at all. I should point out that when I tried this as written originally, I never saw an LDAP button on the login form as described. After /dev/build flush and then logging in, it still used the member authenticator. I'm no longer working on the project using this module so I won't have time to go back and test some things unfortunately. I have a question - Should an LDAP button be showing on the login form after adding this yml https://github.com/silverstripe/silverstripe-ldap/blob/master/docs/en/developer.md#show-the-ldap-login-button-on-login-form (is the current doc correct)?
|
Yes.
It does seem a little odd. The documentation seems to make the assumption that you will be using LDAP as a replacement authenticator - not as an alternative. I think the docs can be a little clearer here, offering two alternatives for "replace" and "additonal". The additional one should just change |
Perhaps your issue with it not overloading the Side note: were those TOC updates part of another change? We could keep those if so =) |
This pull request hasn't had any activity for a while. Are you going to be doing further work on it, or would you prefer to close it now? |
Let's close it. I haven't done SS dev in a while and won't be revisiting this anytime soon :) |
Please see #23 for a description of this PR :)
I also noticed that some of the nav links were broken too, I've addressed this in the PR as well.