diff --git a/install/config/docker-compose.yml b/install/config/docker-compose.yml index 496b013..6c1a375 100644 --- a/install/config/docker-compose.yml +++ b/install/config/docker-compose.yml @@ -35,7 +35,7 @@ services: - 80:80 # Port for traefik because of the network_mode {{end}} traefik: - image: traefik:v3.3.5 + image: traefik:v3.3.6 container_name: traefik restart: unless-stopped {{if .InstallGerbil}} diff --git a/install/main.go b/install/main.go index 82f7902..abb67ac 100644 --- a/install/main.go +++ b/install/main.go @@ -202,7 +202,7 @@ func collectUserInput(reader *bufio.Reader) Config { config.BaseDomain = readString(reader, "Enter your base domain (no subdomain e.g. example.com)", "") config.DashboardDomain = readString(reader, "Enter the domain for the Pangolin dashboard", "pangolin."+config.BaseDomain) config.LetsEncryptEmail = readString(reader, "Enter email for Let's Encrypt certificates", "") - config.InstallGerbil = readBool(reader, "Do you want to use Gerbil to allow tunned connections", true) + config.InstallGerbil = readBool(reader, "Do you want to use Gerbil to allow tunneled connections", true) // Admin user configuration fmt.Println("\n=== Admin User Configuration ===") diff --git a/src/components/LoginForm.tsx b/src/components/LoginForm.tsx index 9a60a21..1594e57 100644 --- a/src/components/LoginForm.tsx +++ b/src/components/LoginForm.tsx @@ -248,6 +248,12 @@ export default function LoginForm({ redirect, onLogin, idps }: LoginFormProps) { pattern={ REGEXP_ONLY_DIGITS_AND_CHARS } + onChange={(e) => { + field.onChange(e); + if (e.target.value.length === 6) { + mfaForm.handleSubmit(onSubmit)(); + } + }} > , + outline = true +}) { + + return ( +
+
+ {children} +
+
+ ); +}