We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello.
I'm getting the error `oauth_login_button ' in the controller" user_sessions " when trying to login (new), use ruby 3.1.3. my code is:
<%= form_for (@user_session) do |f| %> <% if @user_session.errors.any? %>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello.
I'm getting the error `oauth_login_button ' in the controller" user_sessions " when trying to login (new), use ruby 3.1.3.
my code is:
<%= form_for (@user_session) do |f| %>
<% if @user_session.errors.any? %>
<%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:
<%= oauth_login_hidden_input %>
<% @user.errors.full_messages.each do |msg| %>
<% end %>
<% end %>
<%= hidden_field :authentication_type, 'user' %>
<%= f.text_field :username %>
<%= f.password_field :password %>
The text was updated successfully, but these errors were encountered: