kopia lustrzana https://codeberg.org/nmkj/audon
rodzic
5b7c6735ed
commit
9f6238e688
2
auth.go
2
auth.go
|
@ -36,7 +36,7 @@ func verifyTokenInSession(c echo.Context) (bool, *mastodon.Account, error) {
|
|||
}
|
||||
|
||||
type LoginRequest struct {
|
||||
ServerHost string `validate:"required,hostname,fqdn" form:"server"`
|
||||
ServerHost string `validate:"required,fqdn" form:"server"`
|
||||
Redirect string `validate:"url_encoded" form:"redir"`
|
||||
}
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ type (
|
|||
}
|
||||
|
||||
AppConfigBase struct {
|
||||
LocalDomain string `validate:"required,hostname|hostname_port"`
|
||||
LocalDomain string `validate:"required,fqdn"`
|
||||
Environment string `validate:"printascii"`
|
||||
StorageDir string
|
||||
LogoImageBlueBack image.Image
|
||||
|
|
Ładowanie…
Reference in New Issue