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

Update config_sample_php_parameters.rst #11406

Closed
wants to merge 1 commit into from

Conversation

eric-schleicher
Copy link

update to docs for config.php as the system does not check simpleSignUpLink.shown, rather it checks simpleSignUpLink (with no sub property) to control this functionality.

☑️ Resolves

  • unexplained confusion from forums because the docs are just out of sync with the current version.

🖼️ Screenshots

N/A

update to documentation as config.php does not check 
`simpleSignUpLink.shown`, rather it checks `simpleSignUpLink` (with no sub property). 


Signed-off-by: Eric Schleicher <[email protected]>
@kesselb
Copy link
Contributor

kesselb commented Dec 23, 2023

Hi and thanks for your pull request 👍

This page is generated from https://github.com/nextcloud/server/blob/6d557569f6106f00867c970eeae2d8daa960e8be/config/config.sample.php#L2277C2-L2277C24 and therefore you need to change the sample file in nextcloud/server.

However simpleSignUpLink.shown appears to be the right value as per https://github.com/nextcloud/server/blob/6d557569f6106f00867c970eeae2d8daa960e8be/lib/private/TemplateLayout.php#L204

@kesselb kesselb closed this Dec 23, 2023
@eric-schleicher
Copy link
Author

eric-schleicher commented Dec 23, 2023 via email

@kesselb
Copy link
Contributor

kesselb commented Dec 23, 2023

But alas simpleSignUpLink.shown is not used by the application and
doesn’t work.

https://github.com/nextcloud/server/blob/6d557569f6106f00867c970eeae2d8daa960e8be/lib/private/TemplateLayout.php#L204

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

Successfully merging this pull request may close these issues.

2 participants