public function actionResetPersonPassword($ccmp_id,$person_id)
    {
        //only for validation acces
        $model = $this->loadModel($ccmp_id);
        
        yii::import('vendor.dbrisinajumi.person.PersonModule');
        //if do not have user, create
        $m = Person::model();
        $m->resetPassword($person_id);
        
        $this->redirect(array('adminCustomers', 'ccmp_id' => $ccmp_id));
        
    }
public function actionResetPersonPassword($ccmp_id,$person_id)
    {
        //only for validation acces
        $model = $this->loadModel($ccmp_id);
        
        yii::import('vendor.dbrisinajumi.person.PersonModule');
        //if do not have user, create
        $m = Person::model();
        $m->resetPassword($person_id);
        
        $this->redirect(array('adminCustomers', 'ccmp_id' => $ccmp_id));
        
    }
public function actionResetPersonPassword ( $ ccmp_id , $ person_id ) { //only for validation acces $ model = $ this -> loadModel ( $ ccmp_id ) ; yii :: import ( 'vendor.dbrisinajumi.person.PersonModule' ) ; //if do not have user, create $ m = Person :: model ( ) ; $ m -> resetPassword ( $ person_id ) ; $ this -> redirect ( array ( 'adminCustomers' , 'ccmp_id' => $ ccmp_id ) ) ; }
send to user new password
@return type
send to user new password