mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 10:25:58 +00:00
use default lifetime
This commit is contained in:
@@ -115,10 +115,10 @@ export async function createSessionForLoginname(
|
||||
{
|
||||
checks: { user: { loginName }, password: { password } },
|
||||
challenges,
|
||||
lifetime: {
|
||||
seconds: 300,
|
||||
nanos: 0,
|
||||
},
|
||||
// lifetime: {
|
||||
// seconds: 300,
|
||||
// nanos: 0,
|
||||
// },
|
||||
},
|
||||
{}
|
||||
)
|
||||
@@ -126,10 +126,10 @@ export async function createSessionForLoginname(
|
||||
{
|
||||
checks: { user: { loginName } },
|
||||
challenges,
|
||||
lifetime: {
|
||||
seconds: 300,
|
||||
nanos: 0,
|
||||
},
|
||||
// lifetime: {
|
||||
// seconds: 300,
|
||||
// nanos: 0,
|
||||
// },
|
||||
},
|
||||
{}
|
||||
);
|
||||
@@ -148,10 +148,10 @@ export async function createSessionForUserIdAndIdpIntent(
|
||||
return sessionService.createSession(
|
||||
{
|
||||
checks: { user: { userId }, idpIntent },
|
||||
lifetime: {
|
||||
seconds: 300,
|
||||
nanos: 0,
|
||||
},
|
||||
// lifetime: {
|
||||
// seconds: 300,
|
||||
// nanos: 0,
|
||||
// },
|
||||
},
|
||||
{}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user