SessionData: add the passphrase.
This commit is contained in:
committed by
Benoit Marty
parent
a7c21a8c98
commit
f9c1892f2f
+2
@@ -24,6 +24,7 @@ import java.util.Date
|
||||
internal fun Session.toSessionData(
|
||||
isTokenValid: Boolean,
|
||||
loginType: LoginType,
|
||||
passphrase: String?,
|
||||
) = SessionData(
|
||||
userId = userId,
|
||||
deviceId = deviceId,
|
||||
@@ -35,4 +36,5 @@ internal fun Session.toSessionData(
|
||||
loginTimestamp = Date(),
|
||||
isTokenValid = isTokenValid,
|
||||
loginType = loginType,
|
||||
passphrase = passphrase,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user