]> cat aescling's git repositories - mastodon.git/commitdiff
Support /.well-known/change-password (#8828)
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 29 Sep 2018 17:14:48 +0000 (19:14 +0200)
committerGitHub <noreply@github.com>
Sat, 29 Sep 2018 17:14:48 +0000 (19:14 +0200)
Fix #8771

config/routes.rb

index 35e4bdbf9b5ef207128ed89e36d05a9d5dca1c82..d5a9e734c95f042a1b41198e45038931c3c1c491 100644 (file)
@@ -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