disable user data sync by default
This commit is contained in:
parent
c86bd9026d
commit
6cc1f11a69
|
@ -148,12 +148,6 @@ namespace MediaBrowser.Api
|
|||
{
|
||||
var user = _userManager.Users.First();
|
||||
|
||||
// TODO: This should be handled internally by xbmc metadata
|
||||
const string metadataKey = "xbmcmetadata";
|
||||
var metadata = _config.GetConfiguration<XbmcMetadataOptions>(metadataKey);
|
||||
metadata.UserId = user.Id.ToString("N");
|
||||
_config.SaveConfiguration(metadataKey, metadata);
|
||||
|
||||
user.Name = request.Name;
|
||||
await _userManager.UpdateUser(user).ConfigureAwait(false);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user