mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +00:00 
			
		
		
		
	set session to null if login fails to prevent warning when error msg is shown
This commit is contained in:
		
							parent
							
								
									fe43b944c9
								
							
						
					
					
						commit
						e4fb5d5255
					
				|  | @ -89,6 +89,7 @@ $controller->setParam('sesstheme', $sesstheme); | |||
| $controller->setParam('referuri', $referuri); | ||||
| $controller->setParam('session', $session); | ||||
| if(!$controller->run()) { | ||||
| 	$session = null; | ||||
| 	add_log_line("login failed", PEAR_LOG_ERR); | ||||
| 	_printMessage(getMLText($controller->getErrorMsg()), getMLText($controller->getErrorMsg())."\n"); | ||||
| 	exit; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann