mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-16 22:43:03 +00:00
79700: specs for modal, auth check for idleness tracking & stop blocking at token success
This commit is contained in:
@@ -48,17 +48,16 @@ export const environment: GlobalConfig = {
|
||||
ui: {
|
||||
// the amount of time before the idle warning is shown
|
||||
// timeUntilIdle: 15 * 60 * 1000, // 15 minutes
|
||||
timeUntilIdle: 1 * 60 * 1000, // 1 minutes
|
||||
timeUntilIdle: 30 * 1000, // 30 seconds
|
||||
// the amount of time the user has to react after the idle warning is shown before they are logged out.
|
||||
// idleGracePeriod: 5 * 60 * 1000, // 5 minutes
|
||||
idleGracePeriod: 1 * 60 * 1000, // 1 minutes
|
||||
idleGracePeriod: 1 * 60 * 1000, // 1 minute
|
||||
},
|
||||
// Authority REST settings
|
||||
rest: {
|
||||
// If the rest token expires in less than this amount of time, it will be refreshed automatically.
|
||||
// This is independent from the idle warning.
|
||||
// timeLeftBeforeTokenRefresh: 2 * 60 * 1000, // 2 minutes
|
||||
timeLeftBeforeTokenRefresh: 0.25 * 60 * 1000, // 25 seconds
|
||||
timeLeftBeforeTokenRefresh: 2 * 60 * 1000, // 2 minutes
|
||||
},
|
||||
},
|
||||
// Form settings
|
||||
|
Reference in New Issue
Block a user