diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-08-31 09:26:09 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-08-31 13:31:03 +0200 |
commit | cf3f4888ccd403f1d27026d9dbfa061e4bc379e6 (patch) | |
tree | 38c7d71548724d97a45c9640552ebe029920808e /tests | |
parent | 2a2261587921c80123b5077d16fcbde2a45c1a95 (diff) | |
download | nextcloud-server-cf3f4888ccd403f1d27026d9dbfa061e4bc379e6.tar.gz nextcloud-server-cf3f4888ccd403f1d27026d9dbfa061e4bc379e6.zip |
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 d6afa5959a0..cfaa8e712fa 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( |