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

feat(web): password reset custom url #3111

Merged
merged 6 commits into from Apr 4, 2022

Conversation

james-d-elliott
Copy link
Member

This allows providing a custom URL for password resets. If provided the disable_reset_password option is ignored, the password reset API is disabled, and the button provided in the UI to reset the password redirects users to the configured endpoint.

Closes #1934, Closes #2854

@authelia
Copy link

authelia bot commented Apr 4, 2022

Artifacts

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

Docker Container

  • docker pull authelia/authelia:feat-reset-password-link-customization
  • docker pull ghcr.io/authelia/authelia:feat-reset-password-link-customization

@james-d-elliott james-d-elliott force-pushed the feat-reset-password-link-customization branch 4 times, most recently from c8f9e65 to 76844a5 Compare April 4, 2022 07:03
@james-d-elliott
Copy link
Member Author

@renovate-bot please add @you1996 for code

@james-d-elliott james-d-elliott force-pushed the feat-reset-password-link-customization branch from 76844a5 to 6c4dbbb Compare April 4, 2022 07:13
@codecov
Copy link

codecov bot commented Apr 4, 2022

Codecov Report

Merging #3111 (6c4dbbb) into master (b8280df) will increase coverage by 0.01%.
The diff coverage is 78.26%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3111      +/-   ##
==========================================
+ Coverage   63.12%   63.13%   +0.01%     
==========================================
  Files         237      237              
  Lines       12346    12361      +15     
  Branches      381      384       +3     
==========================================
+ Hits         7793     7804      +11     
- Misses       4031     4034       +3     
- Partials      522      523       +1     
Flag Coverage Δ
backend 67.65% <100.00%> (+0.02%) ⬆️
frontend 38.17% <37.50%> (-0.02%) ⬇️

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

Impacted Files Coverage Δ
.../views/LoginPortal/FirstFactor/FirstFactorForm.tsx 16.48% <0.00%> (-0.76%) ⬇️
web/src/views/LoginPortal/LoginPortal.tsx 55.33% <ø> (ø)
internal/configuration/validator/authentication.go 100.00% <100.00%> (ø)
internal/server/server.go 83.88% <100.00%> (+0.27%) ⬆️
internal/server/template.go 44.18% <100.00%> (ø)
web/src/App.tsx 81.57% <100.00%> (ø)
web/src/utils/Configuration.ts 82.35% <100.00%> (+2.35%) ⬆️

@james-d-elliott james-d-elliott merged commit a2eb031 into master Apr 4, 2022
@james-d-elliott james-d-elliott deleted the feat-reset-password-link-customization branch April 4, 2022 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Customize Reset Password URL
1 participant