X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FOwa.php;h=69abd8e871fb5a2aa4640029b17199647f4d264c;hb=0ea93bfba14d708d1e9f5b747f406b6f39f97ff4;hp=5b87e6a4f196f6ee10436703107899c66d8aae7a;hpb=054c301ef0345c4ff9f35cfd08717757eab17b9d;p=friendica.git diff --git a/src/Module/Owa.php b/src/Module/Owa.php index 5b87e6a4f1..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.