feat: rebranded from vpn-router to linux-manager.

This commit is contained in:
slawek committed 2026-11-22 09:51:07 +01:00
1 parent 8efe21bfa6
commit 85a1ffa21f
238 files changed
+5010 -3761

No files matched your search

+3 -3
View File
@@ -3,7 +3,7 @@ import { useState, type FormEvent } from 'react'
import { CODE_PATTERN, PROFILE_SHAPE, request } from './api.ts'
import { saveFile } from './saveFile.ts'
/** The length of a password the router accepts for the key in an Apple profile. */
/** The length of a password the server accepts for the key in an Apple profile. */
const PASSWORD_MIN = 8
const PASSWORD_MAX = 128
@@ -16,8 +16,8 @@ const KINDS = {
/**
* A dialog that downloads a VPN profile of a user, saved as <name>.ovpn or <name>.mobileconfig: for the signed-in
* user's own profile (own) the current password and, when enrolled (otp), a code, and for an Apple profile the
* password that protects the user's key in it, typed twice. path is the router's call, such as
* /users/<name>/apple-profile or /account/profile. The dialog closes when the file is saved and shows the router's
* password that protects the user's key in it, typed twice. path is the server's call, such as
* /users/<name>/apple-profile or /account/profile. The dialog closes when the file is saved and shows the server's
* message when it fails.
*/
export default function ProfileDialog(props: {