-
Notifications
You must be signed in to change notification settings - Fork 143
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
Login page rework #623
Login page rework #623
Conversation
I think this looks great, but it needs a couple fixes and I would prefer to make this optional based on a site configuration value. I will definitely use it for my personal site but I would prefer to keep the original plain login as the default and sites can opt-in to use the fancy version. I did not test the recaptcha module set yet to see if it lines up ok but I can do that after we sort out the issues. Specifically the way the 2 image files are being included is incorrect. In order to work with different site setups includes should be prefixed with the WEB_ROOT constant, and assets should be placed in a module set directory. So please move both images to
and change the URLS to:
Note you have to run the config_gen.php script for the assets to be properly copied over to the production version of the site. Thanks! |
Now everything follow your guidance. Thank you @jasonmunro . |
This does not need to be a user setting but a site level setting. Lets add it to the hm3.ini file, then use that to determine which login page to show. |
I got the point. |
@jasonmunro the login page UI is know configurable. Thanks |
da8f3bf
to
e5a4d88
Compare
@kroky I have a question, I just want to know more about cypht.
|
@ElvisAns, no, I don't think there is such a logic. The output modules are defined much like handler modules in setup.php and are executed in the order defined. |
For the record: It's fine to start this as "optional based on a site configuration value" But each option is a potentially untested code path. After it's well tested, and we improve design/themes overall , we may remove the option, and everyone will get the fancy login. This will be in a major release (ex.: from 1.6.x to 1.7.x) so users expect some changes. |
87e865e
to
570ec81
Compare
@ElvisAns can you rebase locally ? |
ff10f4a
to
992d2f0
Compare
… the 2fa authentication
492a7eb
to
e1a1d34
Compare
modules/core/assets/images/cloud.png
Outdated
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.
What is the source and license of this image?
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.
@marclaporte maybe we need to replace it ... TBH i dont really remember where i have picked the image also this PR started more than 16months ago
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.
I have replaced the image with a free one https://www.pexels.com/photo/heavy-clouds-1828305/
Login page rework
Pullrequest
Issues
Checklist
Screenshots
How2Test
Todo