We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 3954ab39 authored by Zach Copley's avatar Zach Copley

Add OAuth token exchange endpoint to 'sensitive' array; i.e.: use SSL if

parent 82c28097
......@@ -1080,7 +1080,17 @@ function common_local_url($action, $args=null, $params=null, $fragment=null, $ad
function common_is_sensitive($action)
static $sensitive = array('login', 'register', 'passwordsettings', 'api');
static $sensitive = array(
$ssl = null;
if (Event::handle('SensitiveAction', array($action, &$ssl))) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment