includes/sessions.php
changeset 1231 4797a4a88533
parent 1227 bdac73ed481e
child 1240 2b6cdff92b09
equal deleted inserted replaced
1230:31d226269d2f 1231:4797a4a88533
  3820  	* Backend code for the JSON login interface. Basically a frontend to the session API that takes all parameters in one huge array.
  3820  	* Backend code for the JSON login interface. Basically a frontend to the session API that takes all parameters in one huge array.
  3821  	* @param array LoginAPI request
  3821  	* @param array LoginAPI request
  3822  	* @return array LoginAPI response
  3822  	* @return array LoginAPI response
  3823  	*/
  3823  	*/
  3824 	
  3824 	
  3825 	function process_login_request($req, $_dbgtmp = false)
  3825 	function process_login_request($req)
  3826 	{
  3826 	{
  3827 		global $db, $session, $paths, $template, $plugins; // Common objects
  3827 		global $db, $session, $paths, $template, $plugins; // Common objects
  3828 		
  3828 		
  3829 		// Setup EnanoMath and Diffie-Hellman
  3829 		// Setup EnanoMath and Diffie-Hellman
  3830 		global $dh_supported;
  3830 		global $dh_supported;