canvas-lms/app/views/self_enrollments
Brian Palmer 28a8a4030d enable CSRF protection for logout
No longer allow GET requests to /logout

There were a few places in the app that were doing GET requests to
/logout, as well as some tests, so I fixed those to do a proper DELETE
request.

test plan:

  * Make sure you can log out through the web ui
  * Make sure that the cancel/logout buttons still work properly on:
    * The accept terms of use page
    * The self-registration page
    * The "already enrolled" page that you see when you click an
      enrollment invite for one user while logged in as another user
  * Make sure that SAML and CAS log outs work as well

fixes CNVS-12163

Change-Id: I6a0a520745a21b349d36b004bceccbb0ff2c8503
Reviewed-on: https://gerrit.instructure.com/32723
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Brian Palmer <brianp@instructure.com>
2014-06-16 16:11:09 +00:00
..
_already_enrolled.html.erb enable CSRF protection for logout 2014-06-16 16:11:09 +00:00
_authenticate.html.erb self-enrollment API, fixes CNVS-10419 2014-01-15 21:17:04 +00:00
_authenticate_or_register.html.erb self-enrollment API, fixes CNVS-10419 2014-01-15 21:17:04 +00:00
_confirm_enrollments.html.erb enable CSRF protection for logout 2014-06-16 16:11:09 +00:00
_course_full.html.erb self enrollment caps, refs #CNVS-1120 2012-12-19 12:29:58 -07:00
_enrollment_closed.html.erb show an error message when visiting a disabled self-enroll link 2013-01-31 09:30:01 -07:00
_successfully_enrolled.html.erb don't give self enrollment users links to courses that haven't started 2013-01-18 16:00:18 -07:00
new.html.erb tweak embedded views to support dialog-title-styled h2s 2013-04-17 23:45:27 +00:00