feat: support empty well known url
This commit is contained in:
1 parent
45073b3b2b
commit
93f634d228
1 file changed
+1
-1
@@ -374,7 +374,7 @@ const SystemSetting = () => {
|
||||
};
|
||||
|
||||
const submitOIDCSettings = async () => {
|
||||
if (inputs['oidc.well_known'] !== '') {
|
||||
if (inputs['oidc.well_known'] && inputs['oidc.well_known'] !== '') {
|
||||
if (
|
||||
!inputs['oidc.well_known'].startsWith('http://') &&
|
||||
!inputs['oidc.well_known'].startsWith('https://')
|
||||
|
||||
Reference in new issue
Block a user