fix(profile): Reauth für Passkey-Umbenennung und Geräte-Dialog

PATCH /credentials verlangt requireReauth wie add/delete; Client ruft
reauthWithPasskey vor rename auf. Abbrechen-Text beim Gerät vergessen korrigiert.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-31 09:59:44 +02:00
parent ad7e036ab7
commit 68af8c6361
5 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -587,7 +587,7 @@ router.post('/add-credential-verify', requireReauth, async (req: any, res) => {
}
})
router.patch('/credentials/:id', requireUser, async (req: any, res) => {
router.patch('/credentials/:id', requireReauth, async (req: any, res) => {
try {
const { id } = req.params
const label = normalizeCredentialLabel(req.body?.label)