]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Magic.php
base64url calls
[friendica.git] / src / Module / Magic.php
index 01c5d5d464abf90ba0035a17b2a4f1da92ad8d1f..a94339a6e9200dcc92d06befbca94da9eda896d5 100644 (file)
@@ -95,7 +95,7 @@ class Magic extends BaseModule
                                                if ($j['encrypted_token']) {
                                                        // The token is encrypted. If the local user is really the one the other instance
                                                        // thinks he/she is, the token can be decrypted with the local users public key.
-                                                       openssl_private_decrypt(base64url_decode($j['encrypted_token']), $token, $user['prvkey']);
+                                                       openssl_private_decrypt(Strings::base64UrlDecode($j['encrypted_token']), $token, $user['prvkey']);
                                                } else {
                                                        $token = $j['token'];
                                                }