increase session timeout
Signed-off-by: chandi Langecker <git@chandi.it>
This commit is contained in:
@@ -35,7 +35,7 @@ use OCA\NotifyPush\Queue\IQueue;
|
|||||||
use OCP\Security\ISecureRandom;
|
use OCP\Security\ISecureRandom;
|
||||||
|
|
||||||
class SessionService {
|
class SessionService {
|
||||||
public const SESSION_VALID_TIME = 30;
|
public const SESSION_VALID_TIME = 92;
|
||||||
|
|
||||||
private SessionMapper $sessionMapper;
|
private SessionMapper $sessionMapper;
|
||||||
private ITimeFactory $timeFactory;
|
private ITimeFactory $timeFactory;
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import { listen } from '@nextcloud/notify_push'
|
|||||||
import { sessionApi } from './services/SessionApi'
|
import { sessionApi } from './services/SessionApi'
|
||||||
import store from './store/main'
|
import store from './store/main'
|
||||||
|
|
||||||
const SESSION_INTERVAL = 25 // in seconds
|
const SESSION_INTERVAL = 90 // in seconds
|
||||||
|
|
||||||
let hasPush = false
|
let hasPush = false
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user