mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
fix: auth sub override (#9635)
This commit is contained in:
parent
bb79df655d
commit
91b835cfeb
3 changed files with 35 additions and 13 deletions
14
server/test/fixtures/system-config.stub.ts
vendored
14
server/test/fixtures/system-config.stub.ts
vendored
|
|
@ -15,7 +15,7 @@ export const systemConfigStub = {
|
|||
enabled: false,
|
||||
},
|
||||
},
|
||||
noAutoRegister: {
|
||||
oauthEnabled: {
|
||||
oauth: {
|
||||
enabled: true,
|
||||
autoRegister: false,
|
||||
|
|
@ -23,7 +23,15 @@ export const systemConfigStub = {
|
|||
buttonText: 'OAuth',
|
||||
},
|
||||
},
|
||||
override: {
|
||||
oauthWithAutoRegister: {
|
||||
oauth: {
|
||||
enabled: true,
|
||||
autoRegister: true,
|
||||
autoLaunch: false,
|
||||
buttonText: 'OAuth',
|
||||
},
|
||||
},
|
||||
oauthWithMobileOverride: {
|
||||
oauth: {
|
||||
enabled: true,
|
||||
autoRegister: true,
|
||||
|
|
@ -32,7 +40,7 @@ export const systemConfigStub = {
|
|||
buttonText: 'OAuth',
|
||||
},
|
||||
},
|
||||
withDefaultStorageQuota: {
|
||||
oauthWithStorageQuota: {
|
||||
oauth: {
|
||||
enabled: true,
|
||||
autoRegister: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue