Commit ee1bdf68 authored by mh's avatar mh
Browse files

generate a random password by default

parent fa4f4e1d
......@@ -82,7 +82,7 @@
<% else %>
<%= form_tag("#{users_path}/#{URI::escape(@the_user['email'])}", method: "post") do %>
<%= label_tag(:password, (t :password)) %>
<%= text_field_tag(:password) %>
<%= text_field_tag(:password, SecureRandom.base58) %>
<%= submit_tag(t :change_pw) %>
<% end %>
<% end %>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment