feat: improve navigation and add security scans
Security / Secrets (gitleaks) (push) Successful in 1m29s
Lint / Lint (push) Successful in 1m43s
Security / Dependencies (Trivy) (push) Successful in 1m59s
Security / Code (Semgrep) (push) Successful in 3m34s
Tests / Dashboard checks (push) Successful in 1m2s
Tests / Go backend (push) Successful in 3m13s
Docker / Docker Build & Push (push) Successful in 8m15s
Security / Secrets (gitleaks) (push) Successful in 1m29s
Lint / Lint (push) Successful in 1m43s
Security / Dependencies (Trivy) (push) Successful in 1m59s
Security / Code (Semgrep) (push) Successful in 3m34s
Tests / Dashboard checks (push) Successful in 1m2s
Tests / Go backend (push) Successful in 3m13s
Docker / Docker Build & Push (push) Successful in 8m15s
- Hide the lone navigation tab and show mobile menus as overlays - Add secret, code, and dependency scanning to CI - Update test workflows and remove an unused frontend dependency
This commit is contained in:
1 parent
85e6db67b5
commit
817236f349
23 files changed
+299
-74
No files matched your search
@@ -291,10 +291,10 @@ type Service struct {
|
||||
// allowed email-only edits without the current password. Password changes
|
||||
// always require current credentials in UpdateMe.
|
||||
reauthenticateEmailChanges bool
|
||||
loginCacheMu sync.Mutex
|
||||
loginCacheValue bool
|
||||
loginCacheSet bool
|
||||
loginCacheExpires time.Time
|
||||
loginCacheMu sync.Mutex
|
||||
loginCacheValue bool
|
||||
loginCacheSet bool
|
||||
loginCacheExpires time.Time
|
||||
// Attempt counters for the credential endpoints; see ratelimit.go.
|
||||
loginAccountAttempts *attemptLimiter
|
||||
loginClientAttempts *attemptLimiter
|
||||
@@ -397,16 +397,16 @@ func NewWithStore(store ProxyStore, cookieName string, secureCookies bool, authG
|
||||
configurationError = errSecretNotUsable
|
||||
}
|
||||
return &Service{
|
||||
store: store,
|
||||
cookieName: cookieName,
|
||||
secureCookies: secureCookies,
|
||||
authGuard: client,
|
||||
configurationError: configurationError,
|
||||
store: store,
|
||||
cookieName: cookieName,
|
||||
secureCookies: secureCookies,
|
||||
authGuard: client,
|
||||
configurationError: configurationError,
|
||||
reauthenticateEmailChanges: options.reauthenticateEmailChanges,
|
||||
loginAccountAttempts: newAttemptLimiter(attemptWindow, loginAccountLimit),
|
||||
loginClientAttempts: newAttemptLimiter(attemptWindow, loginClientLimit),
|
||||
totpAttempts: newAttemptLimiter(attemptWindow, totpAttemptLimit),
|
||||
trustedProxies: options.trustedProxies,
|
||||
loginAccountAttempts: newAttemptLimiter(attemptWindow, loginAccountLimit),
|
||||
loginClientAttempts: newAttemptLimiter(attemptWindow, loginClientLimit),
|
||||
totpAttempts: newAttemptLimiter(attemptWindow, totpAttemptLimit),
|
||||
trustedProxies: options.trustedProxies,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user