You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -109,13 +110,19 @@ private function getSecureHttpClient() {
109
110
);
110
111
}
111
112
112
-
113
+
/**
114
+
* Function to register mail to letsencrypt.
115
+
*
116
+
* @param string $email Mail id to be registered.
117
+
*
118
+
* @return bool Success.
119
+
*/
113
120
publicfunctionregister( $email ) {
114
121
try {
115
122
$this->client->registerAccount( null, $email );
116
123
} catch ( \Exception$e ) {
117
124
\EE::warning( $e->getMessage() );
118
-
\EE::warning( 'It seems you\'re in local environment or there is some issue with network, please check logs. Skipping letsencrypt.' );
125
+
\EE::warning( 'It seems you\'re in local environment or used invalid email or there is some issue with network, please check logs. Skipping letsencrypt.' );
119
126
120
127
returnfalse;
121
128
}
@@ -124,7 +131,15 @@ public function register( $email ) {
0 commit comments