mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
Add WebAuthn / Passkey integration
This is a rebase of #1618 in which @dave-atx added WebAuthn support. Closes #1618
This commit is contained in:
parent
62188b49f0
commit
62ef8ed57a
42 changed files with 1357 additions and 33 deletions
20
internal/ui/form/webauthn.go
Normal file
20
internal/ui/form/webauthn.go
Normal file
|
@ -0,0 +1,20 @@
|
|||
// SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package form // import "miniflux.app/v2/internal/ui/form"
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// WebauthnForm represents a credential rename form in the UI
|
||||
type WebauthnForm struct {
|
||||
Name string
|
||||
}
|
||||
|
||||
// NewWebauthnForm returns a new WebnauthnForm.
|
||||
func NewWebauthnForm(r *http.Request) *WebauthnForm {
|
||||
return &WebauthnForm{
|
||||
Name: r.FormValue("name"),
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue