Password Resets: Don't accept tokens above a certain age.
authorlain <lain@soykaf.club>
Thu, 19 Nov 2020 11:27:06 +0000 (12:27 +0100)
committerlain <lain@soykaf.club>
Thu, 19 Nov 2020 11:27:06 +0000 (12:27 +0100)
commit11e0d5f9acc85fe1a09e11da91f2abd35bc83f89
treee90fd38239bb73a66d5d26b16d168fca24a491cd
parent8a7ee9fe74f64680da366b0da51038bed022061b
Password Resets: Don't accept tokens above a certain age.

By default, one day
config/config.exs
lib/pleroma/password_reset_token.ex
lib/pleroma/web/twitter_api/controllers/password_controller.ex
test/pleroma/web/twitter_api/password_controller_test.exs