Skip to content
Snippets Groups Projects
Commit 3afa019b authored by Taras's avatar Taras
Browse files

Clear provider after signup

parent f1538247
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@ import android.content.Context
import androidx.lifecycle.MutableLiveData
import dagger.hilt.android.qualifiers.ApplicationContext
import org.futo.circles.auth.R
import org.futo.circles.auth.bsspeke.BSSpekeClientProvider
import org.futo.circles.auth.feature.pass_phrase.create.CreatePassPhraseDataSource
import org.futo.circles.auth.feature.sign_up.subscription_stage.SubscriptionStageDataSource
import org.futo.circles.auth.model.SubscriptionReceiptData
......@@ -118,6 +119,7 @@ class SignUpDataSource @Inject constructor(
MatrixSessionProvider.awaitForSessionStart(session)
createPassPhraseDataSource.createPassPhraseBackup(userName, domain, passphrase)
coreSpacesTreeBuilder.createCoreSpacesTree()
BSSpekeClientProvider.clear()
}
private fun getCurrentStageIndex() =
......
......@@ -40,6 +40,7 @@
<string name="good_password">Good password</string>
<string name="strong_password">Strong password</string>
<string name="very_strong_password">Very strong password</string>
<string name="backup_could_not_be_decrypted_with_key">Backup could not be decrypted with this recovery key.</string>
<string name="generating_recovery_key">Generating recovery key from passphrase.</string>
<string name="creating_backup">Creating backup</string>
<string name="backup_already_exist">Backup already exist</string>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment