add username field, make it main log-in method

This commit is contained in:
2021-10-11 15:04:46 +02:00
parent 14aefe45ce
commit 016b0b78bd
8 changed files with 39 additions and 22 deletions
@@ -7,8 +7,8 @@
</div>
<% end %>
<%= label f, :email %>
<%= email_input f, :email, required: true %>
<%= label f, :username %>
<%= text_input f, :username, required: true %>
<%= label f, :password %>
<%= password_input f, :password, required: true %>