edx/edx-platform — pull request #1771 by flowerhack (2013-11-25 21:24:46+00:00)
Title: Update mode appropriately when user enrolls

The "mode" was remaining unchanged when a student unenrolled & re-enrolled in a course--i.e., someone who was verified when first registering would still be verified when unenrolling and re-registering in audit mode. This commit fixes this problem.

LMS-1526