Skip to content

Commit

Permalink
FEATURE: Implements a Well-Know URL for Changing Passwords
Browse files Browse the repository at this point in the history
  • Loading branch information
xfalcox committed Mar 26, 2019
1 parent 71e431d commit 51a6acb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/routes.rb
Expand Up @@ -345,6 +345,7 @@

get "my/*path", to: 'users#my_redirect'
get "user_preferences" => "users#user_preferences_redirect"
get ".well-known/change-password", to: redirect(relative_url_root + 'my/preferences/account', status: 302)

%w{users u}.each_with_index do |root_path, index|
get "#{root_path}" => "users#index", constraints: { format: 'html' }
Expand Down

2 comments on commit 51a6acb

@tgxworld
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@discoursebot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/implement-well-known-password-change-url/103631/5

Please sign in to comment.