feat: sync deployed v1.0.0-rc.38-custom.42
Publish Docker image (Multi-arch) / Build & push (amd64) (push) Failing after 1m40s
Release (Linux, macOS, Windows) / Linux Release (push) Failing after 42m16s
Publish Docker image (Multi-arch) / Build & push (arm64) (push) Canceled after 0s
Release (Linux, macOS, Windows) / macOS Release (push) Canceled after 0s
Release (Linux, macOS, Windows) / Windows Release (push) Canceled after 0s
Publish Docker image (Multi-arch) / Create multi-arch manifests (push) Canceled after 0s

Sync production source including routing, billing, Astra detection and public uptime. Update custom build instructions and license packaging.
This commit is contained in:
cneicy committed 2026-09-26 04:49:11 +08:00
1 parent c2b44332d6
commit a5f7b8e586
828 files changed
+122253 -13702

No files matched your search

+6
View File
@@ -72,6 +72,12 @@ func PopSessionDataFlow(token, purpose string, identity model.AuthSessionIdentit
if err := common.UnmarshalJsonStr(flow.Payload, &payload); err != nil {
return err
}
if payload.SessionData.RelyingPartyID == "" || payload.SessionData.Expires.IsZero() {
return model.ErrAuthFlowInvalid
}
if !time.Now().Before(payload.SessionData.Expires) {
return model.ErrAuthFlowExpired
}
if purpose == model.AuthFlowPurposePasskeyLogin {
return nil
}