mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Add basic username/password authentication
This commit is contained in:
@@ -15,6 +15,10 @@ type ConfigGeneralInput struct {
|
||||
DatabasePath *string `json:"databasePath"`
|
||||
// Path to generated files
|
||||
GeneratedPath *string `json:"generatedPath"`
|
||||
// Username
|
||||
Username *string `json:"username"`
|
||||
// Password
|
||||
Password *string `json:"password"`
|
||||
}
|
||||
|
||||
type ConfigGeneralResult struct {
|
||||
@@ -24,6 +28,10 @@ type ConfigGeneralResult struct {
|
||||
DatabasePath string `json:"databasePath"`
|
||||
// Path to generated files
|
||||
GeneratedPath string `json:"generatedPath"`
|
||||
// Username
|
||||
Username string `json:"username"`
|
||||
// Password
|
||||
Password string `json:"password"`
|
||||
}
|
||||
|
||||
// All configuration settings
|
||||
|
||||
Reference in New Issue
Block a user