owncloud/core — pull request #6100 by blizzz (2013-11-28 12:27:58+00:00)
Title: loginname is not necessarily username

Fixes what was caused here https://github.com/owncloud/core/pull/6048/files#r7983142

@schiesbn @DeepDiver1975 @icewind1991