equal
deleted
inserted
replaced
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; |