Add tests and changelogs
This commit is contained in:
parent
c5a08350a2
commit
06cf8ab253
|
@ -9,6 +9,7 @@
|
|||
- Add Provider Icon to each Session
|
||||
- Add Anonymous Account Placeholder
|
||||
- Upgraded telegraf docker image version to v1.1.0
|
||||
- Added `expires` parameter to Account Recovery and Email Validation URL's
|
||||
|
||||
## Bugs
|
||||
|
||||
|
|
|
@ -1000,6 +1000,11 @@ trait AccountBase
|
|||
|
||||
$recovery = substr($lastEmail['text'], strpos($lastEmail['text'], '&secret=', 0) + 8, 256);
|
||||
|
||||
$expireTime = strpos($lastEmail['text'], '&expires='.$response['body']['expire'], 0);
|
||||
|
||||
$this->assertNotFalse($expireTime);
|
||||
|
||||
|
||||
/**
|
||||
* Test for FAILURE
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue