feat: Add two-factor authentication via TOTP

Adds TOTP setup with QR code, login challenge, recovery codes and
trusted devices that let a browser skip the second factor for 30
days. Admins can reset another user's second factor by confirming
with their own password.
This commit is contained in:
Daniel Hiller
2026-08-07 20:11:55 +02:00
parent 36aa732fec
commit 2e4904f77d
74 changed files with 4173 additions and 4 deletions
@@ -0,0 +1,32 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
:global(#app) {
.wrapper {
border: none;
box-shadow: none;
}
.intro {
color: var(--text-secondary);
margin-bottom: 16px;
}
.enabledMeta {
color: var(--text-secondary);
font-weight: normal;
}
.actionRow {
display: flex;
gap: 8px;
flex-wrap: wrap;
margin-top: 12px;
}
.recoverySection {
margin-top: 20px;
}
}