Compare commits

...

4 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
db5f44b6ee Remove package-lock.json and add to gitignore (using yarn) 2026-02-07 17:30:28 +00:00
copilot-swe-agent[bot]
cdca552486 Code review completed - ready for security check
Co-authored-by: hsluoyz <3787410+hsluoyz@users.noreply.github.com>
2026-02-07 17:29:32 +00:00
copilot-swe-agent[bot]
121de164d1 Remove frontend provider filtering in application save
This allows users to keep all providers in the application even if those providers don't exist in the current provider list. This fixes the silent filtering issue where providers were being removed without user knowledge.

Co-authored-by: hsluoyz <3787410+hsluoyz@users.noreply.github.com>
2026-02-07 17:22:22 +00:00
copilot-swe-agent[bot]
5ab01ffbc0 Initial plan 2026-02-07 17:16:47 +00:00
3 changed files with 2050 additions and 2935 deletions

3
.gitignore vendored
View File

@@ -33,5 +33,8 @@ commentsRouter*.go
casdoor
server
# ignore npm package-lock.json (using yarn instead)
package-lock.json
# include helm-chart
!manifests/casdoor

View File

@@ -1487,7 +1487,6 @@ class ApplicationEditPage extends React.Component {
submitApplicationEdit(exitAfterSave) {
const application = Setting.deepCopy(this.state.application);
application.providers = application.providers?.filter(provider => this.state.providers.map(provider => provider.name).includes(provider.name));
application.signinMethods = application.signinMethods?.filter(signinMethod => ["Password", "Verification code", "WebAuthn", "LDAP", "Face ID", "WeChat"].includes(signinMethod.name));
ApplicationBackend.updateApplication("admin", this.state.applicationName, application)

File diff suppressed because it is too large Load Diff