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 Sign On Panel to collapse local login if SSO is enabled #701

Merged
merged 6 commits into from
Nov 19, 2018

Conversation

plessbd
Copy link
Contributor

@plessbd plessbd commented Oct 12, 2018

Description

Force for the local login to be collapsed when using SSO with an option to not if provided.
Fix sign in form saving user and pass by browser when using local login.

Since I was already near some of the stuff in index.php I added a few new lines to make the javascript that is output a little cleaner.

Motivation and Context

Users and developers complained

Tests performed

Manually verified the outcome when SSO enabled and not and various combinations of portal setting

Types of changes

  • New feature (non-breaking change which adds functionality)

@plessbd plessbd requested a review from jpwhite4 October 12, 2018 17:36
@plessbd plessbd added this to the 8.1.0 milestone Oct 12, 2018
@plessbd plessbd added enhancement Enhancement of the functionality of an existing feature code cleanup labels Oct 12, 2018
@plessbd plessbd requested a review from smgallo October 12, 2018 17:55
configuration/portal_settings.ini Outdated Show resolved Hide resolved
html/gui/js/CCR.js Show resolved Hide resolved
html/index.php Outdated Show resolved Hide resolved
html/gui/js/CCR.js Show resolved Hide resolved
smgallo
smgallo previously approved these changes Oct 15, 2018
chakrabortyr
chakrabortyr previously approved these changes Oct 16, 2018
Copy link
Contributor

@chakrabortyr chakrabortyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Genius is never understood in its own time. Approved.

@plessbd plessbd changed the base branch from xdmod8.0 to xdmod8.1 November 9, 2018 16:51
@plessbd plessbd requested a review from smgallo November 16, 2018 14:35
[sso]
; used to show local sign in portion of the sign in modal
; setting to true will show it.
show_local_login = "false"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of the other entries in this file use on or off, we should be consistent.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this just makes me want to change them all to true or false...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, but then will all of the place where they're used still work or will you need to change all of them too.

chakrabortyr
chakrabortyr previously approved these changes Nov 19, 2018
smgallo
smgallo previously approved these changes Nov 19, 2018
@plessbd plessbd dismissed stale reviews from smgallo and chakrabortyr via d3e9ac1 November 19, 2018 15:35
@plessbd plessbd merged commit 7abb72b into ubccr:xdmod8.1 Nov 19, 2018
@plessbd plessbd deleted the sign-in-updates branch February 10, 2019 03:20
@smgallo smgallo changed the title Update Sign On Panel Update Sign On Panel to collapse local login if SSO is enabled Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of the functionality of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants