added username for uniqueness of connection db entry
This commit is contained in:
@@ -33,7 +33,7 @@ public class ConnectionService {
|
||||
|
||||
ConnectionResponse response = provider.authenticate(request);
|
||||
|
||||
ConnectionEntity existing = cRepository.findByAppUrl(request.appUrl());
|
||||
ConnectionEntity existing = provider.findUniqueConnectionEntry(request);
|
||||
|
||||
if (existing != null) {
|
||||
provider.updateToRepository(existing, response);
|
||||
|
||||
Reference in New Issue
Block a user