Fix SAAS-349 by preventing password changes in demo mode.

* Added a NotDemoValidate validator class to ensure no changes to a field in demo mode.
* Prevent the user from changing the password of any user in demo mode.
* Fixes SAAS-349.
This commit is contained in:
Albert Santoni 2013-09-26 16:23:22 -04:00
parent c8bb12ca45
commit 11ae76beb8
4 changed files with 8 additions and 5 deletions

View file

@ -1,4 +1,5 @@
<?php
require_once( __DIR__ . '/../validate/NotDemoValidate.php');
class Application_Form_EditUser extends Zend_Form
{