mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-12-07 19:59:07 +00:00
feat(web,server): disable password login (#1223)
* feat(web,server): disable password login * chore: unit tests * chore: fix import * chore: linting * feat(cli): server command for enable/disable password login * chore: update docs * feat(web): confirm dialogue * chore: linting * chore: linting * chore: linting * chore: linting * chore: linting * chore: fix web test * chore: server unit tests
This commit is contained in:
@@ -3936,20 +3936,24 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"readOnly": true
|
||||
"type": "boolean"
|
||||
},
|
||||
"passwordLoginEnabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"readOnly": true
|
||||
"type": "string"
|
||||
},
|
||||
"buttonText": {
|
||||
"type": "string",
|
||||
"readOnly": true
|
||||
"type": "string"
|
||||
},
|
||||
"autoLaunch": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"enabled"
|
||||
"enabled",
|
||||
"passwordLoginEnabled"
|
||||
]
|
||||
},
|
||||
"OAuthCallbackDto": {
|
||||
@@ -4334,6 +4338,9 @@
|
||||
"autoRegister": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"autoLaunch": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"mobileOverrideEnabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
@@ -4349,10 +4356,22 @@
|
||||
"scope",
|
||||
"buttonText",
|
||||
"autoRegister",
|
||||
"autoLaunch",
|
||||
"mobileOverrideEnabled",
|
||||
"mobileRedirectUri"
|
||||
]
|
||||
},
|
||||
"SystemConfigPasswordLoginDto": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"enabled"
|
||||
]
|
||||
},
|
||||
"SystemConfigStorageTemplateDto": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -4373,6 +4392,9 @@
|
||||
"oauth": {
|
||||
"$ref": "#/components/schemas/SystemConfigOAuthDto"
|
||||
},
|
||||
"passwordLogin": {
|
||||
"$ref": "#/components/schemas/SystemConfigPasswordLoginDto"
|
||||
},
|
||||
"storageTemplate": {
|
||||
"$ref": "#/components/schemas/SystemConfigStorageTemplateDto"
|
||||
}
|
||||
@@ -4380,6 +4402,7 @@
|
||||
"required": [
|
||||
"ffmpeg",
|
||||
"oauth",
|
||||
"passwordLogin",
|
||||
"storageTemplate"
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user