Bernd Storath
9 months ago
No known key found for this signature in database
GPG Key ID: D6C85685A555540F
3 changed files with
0 additions and
3 deletions
-
src/server/utils/WireGuard.ts
-
src/server/utils/config.ts
-
src/services/database/repositories/client.ts
|
@ -147,7 +147,6 @@ class WireGuard { |
|
|
privateKey, |
|
|
privateKey, |
|
|
publicKey, |
|
|
publicKey, |
|
|
preSharedKey, |
|
|
preSharedKey, |
|
|
endpoint: null, |
|
|
|
|
|
oneTimeLink: null, |
|
|
oneTimeLink: null, |
|
|
expiresAt: null, |
|
|
expiresAt: null, |
|
|
enabled: true, |
|
|
enabled: true, |
|
|
|
@ -68,7 +68,6 @@ export async function migrateConfig(input: unknown) { |
|
|
privateKey: oldClient.privateKey, |
|
|
privateKey: oldClient.privateKey, |
|
|
publicKey: oldClient.publicKey, |
|
|
publicKey: oldClient.publicKey, |
|
|
updatedAt: oldClient.updatedAt, |
|
|
updatedAt: oldClient.updatedAt, |
|
|
endpoint: null, |
|
|
|
|
|
expiresAt: null, |
|
|
expiresAt: null, |
|
|
oneTimeLink: null, |
|
|
oneTimeLink: null, |
|
|
allowedIPs: db.system.userConfig.allowedIps, |
|
|
allowedIPs: db.system.userConfig.allowedIps, |
|
|
|
@ -14,7 +14,6 @@ export type Client = { |
|
|
preSharedKey: string; |
|
|
preSharedKey: string; |
|
|
/** ISO String */ |
|
|
/** ISO String */ |
|
|
expiresAt: string | null; |
|
|
expiresAt: string | null; |
|
|
endpoint: string | null; |
|
|
|
|
|
allowedIPs: string[]; |
|
|
allowedIPs: string[]; |
|
|
serverAllowedIPs: string[] | null; |
|
|
serverAllowedIPs: string[] | null; |
|
|
oneTimeLink: OneTimeLink | null; |
|
|
oneTimeLink: OneTimeLink | null; |
|
|