Skip to content
New issue

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

add omniauth-rails_csrf_protection gem and only use post requests #1221

Merged
merged 1 commit into from
Jul 25, 2019

Conversation

pgwillia
Copy link
Member

@pgwillia pgwillia added the security Pull requests that address a security vulnerability label Jul 23, 2019
@@ -90,12 +90,12 @@
</li>
<% else %>
<li role="presentation" class="nav-item">
<%= link_to t('.links.login'), '/auth/saml', class: 'nav-item nav-link text-nowrap' %>
<%= link_to t('.links.login'), '/auth/saml', class: 'nav-item nav-link text-nowrap', method: :post %>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alternately could use

Suggested change
<%= link_to t('.links.login'), '/auth/saml', class: 'nav-item nav-link text-nowrap', method: :post %>
<%= button_to t('.links.login'), '/auth/saml', class: 'nav-item nav-link text-nowrap' %>

Copy link
Contributor

@ConnorSheremeta ConnorSheremeta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bartohyeah

@pgwillia pgwillia merged commit 0080681 into ualbertalib:master Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security Pull requests that address a security vulnerability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants