about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-09-29 19:14:48 +0200
committerGitHub <noreply@github.com>2018-09-29 19:14:48 +0200
commit1e75e74f6bea991bc9f48a180af7da0f25598851 (patch)
tree4e81beb6b2f3f11762f54bc08156f4636f65c6a3 /config
parent6c835085a35d64be2c977b98de07801af5abec72 (diff)
Support /.well-known/change-password (#8828)
Fix #8771
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 35e4bdbf9..d5a9e734c 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -21,6 +21,7 @@ Rails.application.routes.draw do
 
   get '.well-known/host-meta', to: 'well_known/host_meta#show', as: :host_meta, defaults: { format: 'xml' }
   get '.well-known/webfinger', to: 'well_known/webfinger#show', as: :webfinger
+  get '.well-known/change-password', to: redirect('/auth/edit')
   get 'manifest', to: 'manifests#show', defaults: { format: 'json' }
   get 'intent', to: 'intents#show'
   get 'custom.css', to: 'custom_css#show', as: :custom_css