mirror of
https://github.com/immich-app/immich.git
synced 2025-12-18 01:11:07 +03:00
fix: auth sub override (#9635)
This commit is contained in:
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,
|
||||
|
||||
Reference in New Issue
Block a user