Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ntp): startup check skipped when it shouldn't be #5701

Merged
merged 1 commit into from
Jul 22, 2023

Conversation

james-d-elliott
Copy link
Member

@james-d-elliott james-d-elliott commented Jul 22, 2023

The NTP startup check is helpful for identifying not only TOTP issues but also OpenID Connect 1.0 and Session issues. As such it should be performed even if 2FA is disabled. This fixes this issue.

@authelia
Copy link

authelia bot commented Jul 22, 2023

Artifacts

These changes are published for testing on Buildkite, DockerHub and GitHub Container Registry.

Docker Container

  • docker pull authelia/authelia:fix-ntp-check
  • docker pull ghcr.io/authelia/authelia:fix-ntp-check

The NTP startup check is helpful for identifying not only TOTP issues but also OpenID Connect 1.0 and Session issues. As such it should be enabled even if 2FA is disabled.

Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
@netlify
Copy link

netlify bot commented Jul 22, 2023

Deploy Preview for authelia-staging ready!

Name Link
🔨 Latest commit 677bae3
🔍 Latest deploy log https://app.netlify.com/sites/authelia-staging/deploys/64bbd1e1cc824700082390a3
😎 Deploy Preview https://deploy-preview-5701--authelia-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@codecov
Copy link

codecov bot commented Jul 22, 2023

Codecov Report

Merging #5701 (677bae3) into master (24c482b) will decrease coverage by 0.01%.
The diff coverage is 62.50%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5701      +/-   ##
==========================================
- Coverage   72.71%   72.70%   -0.01%     
==========================================
  Files         276      276              
  Lines       22785    22785              
  Branches      438      438              
==========================================
- Hits        16567    16566       -1     
- Misses       5490     5491       +1     
  Partials      728      728              
Flag Coverage Δ
backend 73.99% <62.50%> (ø)
frontend 56.70% <ø> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
internal/commands/root.go 75.22% <62.50%> (-1.84%) ⬇️

... and 2 files with indirect coverage changes

@james-d-elliott james-d-elliott changed the title fix(ntp): perform check on all startups fix(ntp): startup check skipped when it shouldn't be Jul 22, 2023
@james-d-elliott james-d-elliott merged commit 934f68b into master Jul 22, 2023
50 of 51 checks passed
@james-d-elliott james-d-elliott deleted the fix-ntp-check branch July 22, 2023 22:42
@james-d-elliott james-d-elliott added this to the v4.38.0 milestone Aug 2, 2023
@james-d-elliott james-d-elliott added the area/logs Logging related features/bugs label Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/logs Logging related features/bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant