chocolatey / chocolatey-licensed-issues

Issues for Licensed Editions of Chocolatey
19 stars 13 forks source link

Ensure that it is possible to hide links from login page when new user registration is disabled #270

Closed ryanrichter94 closed 2 years ago

ryanrichter94 commented 3 years ago

What You Are Seeing?

There is currently no way of getting rid of the Not a member yet? Email activation section on the CCM login page.

What is Expected?

I would assume this would be hidden when you uncheck the user management setting Allow users to register to the system

How Did You Get This To Happen? (Steps to Reproduce)

  1. Be running CCM 0.6.3
  2. Go into settings and disable Allow users to register to the system
  3. On the CCM login screen you'll still see Not a member yet? Email activation under the Log in button.

Screenshots

image

References

┆Issue is synchronized with this Gitlab issue by Unito ┆Milestone: 0.9.0

gep13 commented 2 years ago

Within CCM 0.8.0 and earlier, by default, when looking at the CCM Login screen, you would have seen the following:

image

After disabling the Allow users to register to the system checkbox in the Administration Settings screen, the login page would show the following:

image

NOTE: There is still Not a member yet? text being shown, which isn't very useful.

Starting with 0.9.0, when you first visit the login screen, you will see the following:

image

And then, when the Allow users to register to the system checkbox in the Administration Settings screen is disabled, you will see the following:

image

NOTE: The email activation link is still required, since when a user is being created through the administration section, it is possible to still require emails to be confirmed, therefore a link to re-sent this activation is still required.