webinos/Webinos-Platform — pull request #279 by jplyle (2012-11-05 14:33:39+00:00)
Title: WP-329: Disallow non-localhost origins to perform autoenrolment

The PZP will now check for websocket connections to make sure:

(1) They come from localhost
(2) That if they attempt to do autoenrolment, their origin hostname
is 'localhost' or '127.0.0.1'.

This is a quick fix to WP-329 and fixes indentation.

Jira issue: WP-329