mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-04 02:28:02 +00:00
6cb40bee26
Closes #612 Co-authored-by: tusooa <tusooa@kazv.moe> Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/626 Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk> Co-committed-by: FloatingGhost <hannah@coffee-and-dreams.uk>
14 lines
694 B
Elixir
14 lines
694 B
Elixir
<h2>Password Reset for <%= @user.nickname %></h2>
|
|
<%= form_for @conn, ~p"/api/v1/pleroma/password_reset", [as: "data"], fn f -> %>
|
|
<div class="form-row">
|
|
<%= label f, :password, Gettext.dpgettext("static_pages", "password reset form password prompt", "Password") %>
|
|
<%= password_input f, :password %>
|
|
</div>
|
|
<div class="form-row">
|
|
<%= label f, :password_confirmation, Gettext.dpgettext("static_pages", "password reset form confirm password prompt", "Confirmation") %>
|
|
<%= password_input f, :password_confirmation %>
|
|
</div>
|
|
<%= hidden_input f, :token, value: @token.token %>
|
|
<%= submit Gettext.dpgettext("static_pages", "password reset button", "Reset") %>
|
|
<% end %>
|