@@ -50,25 +50,25 @@ private async Task SyncEmail(Customer customer, ExternalRegistrationIdentity ide
5050 //emergency access
5151 if ( loginConfig . IsBreakGlass ( customer . Email ) )
5252 {
53- logger . LogWarning ( "OpenID Connect profile sync: break-glass customer {CustomerId} keeps {OldEmail} " +
54- "(the identity provider has {NewEmail} )" , customer . Id , customer . Email , newEmail ) ;
53+ logger . LogWarning ( "OpenID Connect profile sync: break-glass customer {CustomerId} keeps its e-mail " +
54+ "(the identity provider has a different one )" , customer . Id ) ;
5555 return ;
5656 }
5757
5858 //nor may an account take an address listed there: the password it still has would open the Admin login page
5959 //and keep it signed in past the provider
6060 if ( loginConfig . IsBreakGlass ( newEmail ) )
6161 {
62- logger . LogWarning ( "OpenID Connect profile sync: customer {CustomerId} keeps {OldEmail}: {NewEmail} is a " +
63- "break-glass address" , customer . Id , customer . Email , newEmail ) ;
62+ logger . LogWarning ( "OpenID Connect profile sync: customer {CustomerId} keeps its e-mail: the identity " +
63+ "provider's one is a break-glass address" , customer . Id ) ;
6464 return ;
6565 }
6666
6767 var owner = await customerService . GetCustomerByEmail ( newEmail , customerConfig . RegisterCustomersPerStore ? storeId : "" ) ;
6868 if ( owner != null && owner . Id != customer . Id )
6969 {
70- logger . LogWarning ( "OpenID Connect profile sync: customer {CustomerId} keeps {OldEmail}: {NewEmail} belongs to customer {OtherId}" ,
71- customer . Id , customer . Email , newEmail , owner . Id ) ;
70+ logger . LogWarning ( "OpenID Connect profile sync: customer {CustomerId} keeps its e-mail: the identity " +
71+ "provider's one belongs to customer {OtherId}" , customer . Id , owner . Id ) ;
7272 return ;
7373 }
7474
0 commit comments