]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Owa.php
base64url calls
[friendica.git] / src / Module / Owa.php
index 8832dd9b0d12d6db823520fad86868be6682c272..bfe108c842c0e62f982a1b4c99f828cedaa387a6 100644 (file)
@@ -75,7 +75,7 @@ class Owa extends BaseModule
                                                                // At a later time, we will compare weather the token we're getting
                                                                // is really the same token we have stored in the database.
                                                                openssl_public_encrypt($token, $result, $contact['pubkey']);
-                                                               $ret['encrypted_token'] = base64url_encode($result);
+                                                               $ret['encrypted_token'] = Strings::base64UrlEncode($result);
                                                        } else {
                                                                Logger::log('OWA fail: ' . $contact['id'] . ' ' . $contact['addr'] . ' ' . $contact['url'], Logger::DEBUG);
                                                        }