blob: 3f6a57db4dd3a28068d8480ac278d9e1df78d7ec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"),
}
}
|