diff options
author | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2019-09-13 11:29:33 +0000 |
---|---|---|
committer | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2019-09-13 11:29:33 +0000 |
commit | caa73945f9fe69875171ea2aade2c53e60b21bbe (patch) | |
tree | dbcc35d42a519d3796c82c3942891226a425c2e7 /Postman/PostmanAdminController.php | |
parent | 5f134fb5839bf3e161385727c2a2009b54444878 (diff) | |
download | Post-SMTP-caa73945f9fe69875171ea2aade2c53e60b21bbe.zip |
hooks + sanitize bug
Diffstat (limited to 'Postman/PostmanAdminController.php')
-rw-r--r-- | Postman/PostmanAdminController.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Postman/PostmanAdminController.php b/Postman/PostmanAdminController.php index 3d0486f..1e43c6d 100644 --- a/Postman/PostmanAdminController.php +++ b/Postman/PostmanAdminController.php @@ -128,11 +128,13 @@ if ( ! class_exists( 'PostmanAdminController' ) ) { $this->logger->debug( 'Looking for grant code' ); if ( isset( $_GET ['code'] ) ) { $this->logger->debug( 'Found authorization grant code' ); + // queue the function that processes the incoming grant code $this->registerInitFunction( 'handleAuthorizationGrant' ); return; } } + do_action('post_smtp_handle_oauth', $this->messageHandler ); // continue to initialize the AdminController add_action( 'init', array( |