Skip to content
Unverified Commit 92c74d2f authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Don't force displayname if backend already provides one



`\OC_User::loginWithApache` is used in combination with backend mechanisms like our SSO / SAML integration. Those can optionally already provide a displayname using other means. For example by mapping SAML attributes.

The current approach makes it however impossible for backends using `\OCP\Authentication\IApacheBackend` to set a displayname on their own. Because the display name will simply be overwritten with the loginname.

Signed-off-by: default avatarLukas Reschke <lukas@statuscode.ch>
parent f25c8946
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment