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

Fill login_hint with username #328

Merged
merged 3 commits into from
Mar 15, 2022
Merged

Fill login_hint with username #328

merged 3 commits into from
Mar 15, 2022

Conversation

butonic
Copy link
Member

@butonic butonic commented Mar 11, 2022

The oauth2 app uses js to fill the login with the user from the redirect url. Why exactly I don't know. The LoginController in core already picks up a user parameter and fills the login form username with it. AFAICT the code picks up the user from the redirect url. Who knows where that is used.

In any case this PR looks up the user and uses the username instead of the userid. Similar to owncloud/core#39870

@butonic butonic self-assigned this Mar 11, 2022
This was referenced Mar 14, 2022
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
@sonarcloud
Copy link

sonarcloud bot commented Mar 14, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@butonic butonic merged commit 569a913 into master Mar 15, 2022
@delete-merged-branch delete-merged-branch bot deleted the fill-login-with-username branch March 15, 2022 07:56
@jnweiger jnweiger mentioned this pull request Jun 3, 2022
This pull request was closed.
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