MastoAPI and OAuth: allow login with either email or username.
This commit is contained in:
parent
e153b364a7
commit
947431e9aa
5 changed files with 11 additions and 4 deletions
|
|
@ -2,7 +2,7 @@
|
|||
<p class="alert alert-danger" role="alert"><%= get_flash(@conn, :error) %></p>
|
||||
<h2>OAuth Authorization</h2>
|
||||
<%= form_for @conn, o_auth_path(@conn, :authorize), [as: "authorization"], fn f -> %>
|
||||
<%= label f, :name, "Name" %>
|
||||
<%= label f, :name, "Name or email" %>
|
||||
<%= text_input f, :name %>
|
||||
<br>
|
||||
<%= label f, :password, "Password" %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue