resetPasswordMailConfirmed

abstract suspend fun resetPasswordMailConfirmed(newPassword: String, logoutAllDevices: Boolean = true)

Confirm the new password, once the user has checked their email When this method succeed, tha account password will be effectively modified.

Parameters

newPassword

the desired new password.

logoutAllDevices

defaults to true, all devices will be logged out. False values will only be taken into account if org.matrix.android.sdk.api.auth.data.LoginFlowResult.isLogoutDevicesSupported is true.