mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-30 15:15:24 +00:00
fix(database): preserve RDP domain during startup backfill (#1497)
This commit is contained in:
1 parent
1f4b1ff6a4
commit
5b0423c8e0
3 files changed
+110
-1
No files matched your search
@@ -139,7 +139,8 @@ export function legacyLogin(
|
||||
password = openLegacySecret(row.password, dek, recordId, ["password"]);
|
||||
domain = protocol.domain ? text(row.domain) : "";
|
||||
if (!username && !password && !domain) return null;
|
||||
} else if (protocol.domain && !domain) {
|
||||
} else if (protocol.domain && row[protocol.domain] == null) {
|
||||
// A saved empty domain was cleared on purpose, so only fill a missing one.
|
||||
domain = text(row.domain);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user