X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FOwa.php;h=69abd8e871fb5a2aa4640029b17199647f4d264c;hb=0ea93bfba14d708d1e9f5b747f406b6f39f97ff4;hp=322cafa0971d0fb46dfdaae458fb9391ccac07cd;hpb=dc42dbb68a50fb2c60f439393eb6d1fe80b327cf;p=friendica.git diff --git a/src/Module/Owa.php b/src/Module/Owa.php index 322cafa097..69abd8e871 100644 --- a/src/Module/Owa.php +++ b/src/Module/Owa.php @@ -1,6 +1,6 @@ false ]; foreach (['REDIRECT_REMOTE_USER', 'HTTP_AUTHORIZATION'] as $head) { @@ -81,12 +80,12 @@ class Owa extends BaseModule $ret['success'] = true; $token = Strings::getRandomHex(32); - // Store the generated token in the databe. + // Store the generated token in the database. OpenWebAuthToken::create('owt', 0, $token, $contact['addr']); $result = ''; - // Encrypt the token with the public contacts publik key. + // Encrypt the token with the public contacts public key. // Only the specific public contact will be able to encrypt it. // At a later time, we will compare weather the token we're getting // is really the same token we have stored in the database.