We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9636536 commit 61539c7Copy full SHA for 61539c7
ide-common/src/main/kotlin/org/digma/intellij/plugin/common/UniqueGeneratedUserId.kt
@@ -37,7 +37,7 @@ fun generateUniqueUserId(): String {
37
//MUST BE SORTED
38
val ni = NetworkInterface.networkInterfaces().toList().mapNotNull { it.hardwareAddress }.map { macAddressToString(it) }.sorted()
39
.joinToString("-")
40
- val baseString = "$userName~$userHome~$osName~$osArch~$ni"
+ val baseString = "$userName-$userHome-$osName-$osArch-$ni"
41
return DigestUtils.sha1Hex(baseString)
42
} catch (e: Throwable) {
43
return DigestUtils.sha1Hex(UUID.randomUUID().toString())
0 commit comments