mirror of
https://github.com/friendica/friendica
synced 2025-04-19 11:10:10 +00:00
port hubzillas OpenWebAuth - rename Verify class to OpenWebAuthToken
This commit is contained in:
parent
d5afbd3357
commit
149142b4bc
4 changed files with 9 additions and 9 deletions
|
@ -8,7 +8,7 @@ use Friendica\BaseModule;
|
|||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Model\Verify;
|
||||
use Friendica\Model\OpenWebAuthToken;
|
||||
use Friendica\Util\HTTPSignature;
|
||||
|
||||
use dba;
|
||||
|
@ -66,7 +66,7 @@ class Owa extends BaseModule
|
|||
$token = random_string(32);
|
||||
|
||||
// Store the generated token in the databe.
|
||||
Verify::create('owt', 0, $token, $contact['addr']);
|
||||
OpenWebAuthToken::create('owt', 0, $token, $contact['addr']);
|
||||
|
||||
$result = '';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue