projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6da026c
)
DataObjects/Core_person.php
author
Alan Knowles
<alan@roojs.com>
Fri, 7 Dec 2018 02:02:13 +0000
(10:02 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 7 Dec 2018 02:02:13 +0000
(10:02 +0800)
DataObjects/Core_person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_person.php
b/DataObjects/Core_person.php
index
2a445a0
..
187ab75
100644
(file)
--- a/
DataObjects/Core_person.php
+++ b/
DataObjects/Core_person.php
@@
-1495,11
+1495,15
@@
class Pman_Core_DataObjects_Core_person extends DB_DataObject
static function test_ADMIN_PASSWORD_RESET($pg, $to)
{
$ff = HTML_FlexyFramework::get();
+ $person = DB_DataObject::Factory('core_person');
+ $person->id = -1;
$content = array(
-
- 'baseURL' => $ff->baseURL,
- 'serverName' => $_SERVER['SERVER_NAME'],
+ 'HTTP_HOST' => $_SERVER['SERVER_NAME'],
+ 'person' => $person,
+ 'authFrom' => 'FAKE_LINK',
+ 'authKey' -> 'FAKE_KEY',
+
'rcpts' => $to->email,
);