$this->container->conf->get('credentials.salt')
)
);
- $this->container->conf->set('general.header_link', $this->container->basePath);
+ $this->container->conf->set('general.header_link', $this->container->basePath . '/');
try {
// Everything is ok, let's create config file.
[t('Shaarli is now configured. Please login and start shaaring your bookmarks!')]
);
- return $this->redirect($response, '/');
+ return $this->redirect($response, '/login');
}
protected function checkPermissions(): bool
$result = $this->controller->save($request, $response);
static::assertSame(302, $result->getStatusCode());
- static::assertSame('/subfolder/', $result->getHeader('location')[0]);
+ static::assertSame('/subfolder/login', $result->getHeader('location')[0]);
}
/**
$result = $this->controller->save($request, $response);
static::assertSame(302, $result->getStatusCode());
- static::assertSame('/subfolder/', $result->getHeader('location')[0]);
+ static::assertSame('/subfolder/login', $result->getHeader('location')[0]);
static::assertSame('UTC', $confSettings['general.timezone']);
static::assertSame('Shared bookmarks on http://shaarli', $confSettings['general.title']);