Assume sets child auth at to now + explicit auth method setting
Signed-off-by: Émile Ré <nemile.re@gmail.com>
This commit is contained in:
@@ -393,8 +393,8 @@ func (s SessionService) AssumeOrganizationSession(
|
||||
TenantID: &tenantID,
|
||||
MembershipID: &membership.ID,
|
||||
ParentSessionID: &rootSession.ID,
|
||||
AuthMethod: rootSession.AuthMethod,
|
||||
AuthenticatedAt: rootSession.AuthenticatedAt,
|
||||
AuthMethod: coredata.AuthMethodPassword,
|
||||
AuthenticatedAt: now,
|
||||
ExpiredAt: rootSession.ExpiredAt,
|
||||
CreatedAt: now,
|
||||
UpdatedAt: now,
|
||||
|
||||
Reference in New Issue
Block a user