Removed usage of obsoleteted method in UserService.

This commit is contained in:
Andy Butland
2020-02-15 11:10:25 +01:00
parent 40d7baca79
commit ac91b9ef5e
@@ -46,7 +46,7 @@ namespace Umbraco.Core.Services.Implement
{
using (var scope = ScopeProvider.CreateScope(autoComplete: true))
{
return _userRepository.Exists(username);
return _userRepository.ExistsByUserName(username);
}
}