mike e183b386a1 fix(admin): show TOTP prompt instead of redirecting on 2fa-required login
The login form's hx-on::after-request redirected to /admin/ on any 2xx
response. The TOTP-required path also returns 2xx — with an HTML
fragment that unhides the TFA section — so the redirect fired before
the user ever saw the code input, locking out anyone who had enrolled
TOTP.

Only redirect when the 2xx body is empty (the real-login signal). When
the body is non-empty it's the prompt fragment, which htmx swaps into
#err and whose inline <script> reveals #tfa-section.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 20:37:49 +02:00
2023-02-16 15:23:31 +08:00
2026-01-13 10:26:46 +08:00
2023-02-08 16:45:30 +08:00
2026-01-10 16:07:16 +08:00
2023-07-06 00:50:11 +08:00
2022-05-12 20:07:45 +08:00
2023-02-16 15:23:31 +08:00
2025-01-21 01:09:21 +08:00
2022-05-12 22:11:06 +08:00
2026-01-12 14:54:50 +08:00

RustDesk Server Program

build

Download

Manual

FAQ

How to migrate OSS to Pro

Self-host your own RustDesk server, it is free and open source.

How to build manually

cargo build --release

Three executables will be generated in target/release.

  • hbbs - RustDesk ID/Rendezvous server
  • hbbr - RustDesk relay server
  • rustdesk-utils - RustDesk CLI utilities

You can find updated binaries on the Releases page.

If you want extra features, RustDesk Server Pro might suit you better.

If you want to develop your own server, rustdesk-server-demo might be a better and simpler start for you than this repo.

Installation

Please follow this doc

S
Description
No description provided
Readme AGPL-3.0 6.7 MiB
2026-05-24 22:19:14 +00:00
Languages
JavaScript 62.8%
Rust 32%
TypeScript 3.7%
HTML 0.7%
Shell 0.4%
Other 0.4%