diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-08-31 10:26:09 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-10-16 10:24:38 +0300 |
commit | 7613801a58fb25135a6b925995b659b9233e149a (patch) | |
tree | f6829202400b48ce4caabeef24b4a83f19a912de /tests | |
parent | 329c2108b50d87dca4776137ece5d8edd0050ed5 (diff) |
Change password expiration time from 12h to 7d
We use the same logic for creating accounts without a password and there the 12h is a bit short. Users don't expect that the signup link needs to be clicked within 12h - 7d should be a more expected behavior.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Core/Controller/LostControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Core/Controller/LostControllerTest.php b/tests/Core/Controller/LostControllerTest.php index 61bdb219184..d372ec559d0 100644 --- a/tests/Core/Controller/LostControllerTest.php +++ b/tests/Core/Controller/LostControllerTest.php @@ -584,7 +584,7 @@ class LostControllerTest extends \Test\TestCase { ->with('ValidTokenUser') ->willReturn($this->existingUser); $this->timeFactory->method('getTime') - ->willReturn(55546); + ->willReturn(617146); $this->crypto->method('decrypt') ->with( |