X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FOwa.php;h=69abd8e871fb5a2aa4640029b17199647f4d264c;hb=706444bdb22b57f18c284044bdbdaeb7610990fe;hp=322cafa0971d0fb46dfdaae458fb9391ccac07cd;hpb=b9873a88a5bb19f2d493739a072c6ac3f745e76e;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.