AppToken to 72 chars

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2017-04-25 13:12:24 +02:00
parent bb5e5efa6d
commit aae079aa29
No known key found for this signature in database
GPG Key ID: F941078878347C0C
2 changed files with 3 additions and 3 deletions

View File

@ -221,7 +221,7 @@ class ClientFlowLoginController extends Controller {
return $response;
}
$token = $this->random->generate(60);
$token = $this->random->generate(72);
$this->tokenProvider->generateToken(
$token,
$this->userSession->getUser()->getUID(),

View File

@ -310,7 +310,7 @@ class ClientFlowLoginControllerTest extends TestCase {
$this->random
->expects($this->once())
->method('generate')
->with(60)
->with(72)
->willReturn('MyGeneratedToken');
$user = $this->createMock(IUser::class);
$user
@ -374,7 +374,7 @@ class ClientFlowLoginControllerTest extends TestCase {
$this->random
->expects($this->once())
->method('generate')
->with(60)
->with(72)
->willReturn('MyGeneratedToken');
$user = $this->createMock(IUser::class);
$user