[#184] small refactoring reset password
authorMaksim <parallel588@gmail.com>
Mon, 24 Jun 2019 19:01:56 +0000 (19:01 +0000)
committerkaniini <nenolod@gmail.com>
Mon, 24 Jun 2019 19:01:56 +0000 (19:01 +0000)
commita0c4ebb4d73f43a9c567c5309f0e8d1b88995481
treea1d588f77900fe6e333bae3aa5b0a9d385997433
parent1ab8a9e4fe693e0d3e7442eae37ddeed8ac6ed31
[#184] small refactoring  reset password
14 files changed:
lib/mix/tasks/pleroma/user.ex
lib/pleroma/emails/user_email.ex
lib/pleroma/password_reset_token.ex [moved from lib/pleroma/PasswordResetToken.ex with 93% similarity]
lib/pleroma/user.ex
lib/pleroma/web/oauth/authorization.ex
lib/pleroma/web/router.ex
lib/pleroma/web/templates/twitter_api/password/invalid_token.html.eex [moved from lib/pleroma/web/templates/twitter_api/util/invalid_token.html.eex with 100% similarity]
lib/pleroma/web/templates/twitter_api/password/reset.html.eex [moved from lib/pleroma/web/templates/twitter_api/util/password_reset.html.eex with 82% similarity]
lib/pleroma/web/templates/twitter_api/password/reset_failed.html.eex [moved from lib/pleroma/web/templates/twitter_api/util/password_reset_failed.html.eex with 100% similarity]
lib/pleroma/web/templates/twitter_api/password/reset_success.html.eex [moved from lib/pleroma/web/templates/twitter_api/util/password_reset_success.html.eex with 100% similarity]
lib/pleroma/web/twitter_api/controllers/password_controller.ex [new file with mode: 0644]
lib/pleroma/web/twitter_api/controllers/util_controller.ex
lib/pleroma/web/twitter_api/views/password_view.ex [new file with mode: 0644]
test/web/twitter_api/password_controller_test.exs [new file with mode: 0644]