Add test for ensuring keeping of displayname#137
Merged
Conversation
Member
Author
|
Codecov Report
@@ Coverage Diff @@
## master #137 +/- ##
============================================
+ Coverage 33.67% 33.74% +0.06%
+ Complexity 123 121 -2
============================================
Files 10 10
Lines 490 489 -1
============================================
Hits 165 165
+ Misses 325 324 -1
Continue to review full report at Codecov.
|
This was referenced Jul 31, 2017
LukasReschke
added a commit
to nextcloud/server
that referenced
this pull request
Jul 31, 2017
This code is a leftover from the old Shibboleth implementation from ownCloud days, nowadays it causes more issues than it does good (such as nextcloud/user_saml#137). Let's remove it for the future thus. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
`\OC_User::loginWithApache` sets the display name otherwise to the login name which is wrong. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
c13c09e to
a5a406f
Compare
Otherwise users can change their display name and email address which is in a SAML scenario undesired. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Member
Author
|
Sent to owner of affected instance and awaiting feedback. |
Member
|
This array index reminds me of another PR or was this in user_saml? 🤔 |
Member
https://github.com/nextcloud/user_saml/pull/132/files?w=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There seems to be a bug here, let's try to track it down with integration tests.
Fixes #119, fixes #125
Signed-off-by: Lukas Reschke lukas@statuscode.ch