add error messages from plugin password to debug
This commit is contained in:
		
							parent
							
								
									16a4ce9320
								
							
						
					
					
						commit
						3620ae3639
					
				| 
						 | 
				
			
			@ -286,6 +286,7 @@ class password_recovery extends rcube_plugin {
 | 
			
		|||
                    if ($result != 0) {
 | 
			
		||||
                        $message = $this->gettext('write_failed') . ": " . $result;
 | 
			
		||||
                        $type = 'error';
 | 
			
		||||
                        $this->debug($message);
 | 
			
		||||
                    }
 | 
			
		||||
                } else {
 | 
			
		||||
                    $save['password'] = crypt($newpassword, '$1$' . rcube_utils::random_bytes(9));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue