mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-10 11:19:50 +08:00
fix: restore security hardening compatibility and validation
Restore authorized rule reveal, explicit full HTTP capture and retention, video task business fields, and valid payment URLs. Add opt-in credential preservation for trusted recovery, fix frontend type contracts and async races, and eliminate PostgreSQL test fixture resource leaks. Document audit coverage and successful fmt and CI-scoped Clippy checks.
This commit is contained in:
@@ -215,13 +215,13 @@ export const useAuthStore = defineStore('auth', () => {
|
||||
// 保留登录状态;短暂退避后允许再次校验。
|
||||
log.info('Keeping session despite error, as per user requirement')
|
||||
return null
|
||||
} finally {
|
||||
if (fetchCurrentUserPromise === request) {
|
||||
fetchCurrentUserPromise = null
|
||||
fetchCurrentUserToken = null
|
||||
}
|
||||
}
|
||||
})()
|
||||
})().finally(() => {
|
||||
if (fetchCurrentUserPromise === request) {
|
||||
fetchCurrentUserPromise = null
|
||||
fetchCurrentUserToken = null
|
||||
}
|
||||
})
|
||||
|
||||
fetchCurrentUserPromise = request
|
||||
return request
|
||||
|
||||
Reference in New Issue
Block a user