diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-12-07 01:42:00 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-12-07 13:56:08 +0100 |
commit | 314141279db4826bf4862576b7e0df104834ad00 (patch) | |
tree | ed4acb0108443b2503f371589f9beb9892b116a3 /server/controllers | |
parent | 14d1b7b95a096b933ea353a715f4868a89dc5822 (diff) | |
download | PeerTube-314141279db4826bf4862576b7e0df104834ad00.tar.gz PeerTube-314141279db4826bf4862576b7e0df104834ad00.tar.zst PeerTube-314141279db4826bf4862576b7e0df104834ad00.zip |
(well-known url) add change-password
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/static.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/server/controllers/static.ts b/server/controllers/static.ts index 55e7392a1..4fd58f70c 100644 --- a/server/controllers/static.ts +++ b/server/controllers/static.ts | |||
@@ -136,6 +136,12 @@ staticRouter.use('/.well-known/dnt/', | |||
136 | } | 136 | } |
137 | ) | 137 | ) |
138 | 138 | ||
139 | staticRouter.use('/.well-known/change-password', | ||
140 | (_, res: express.Response) => { | ||
141 | res.redirect('/my-account/settings') | ||
142 | } | ||
143 | ) | ||
144 | |||
139 | // --------------------------------------------------------------------------- | 145 | // --------------------------------------------------------------------------- |
140 | 146 | ||
141 | export { | 147 | export { |