mirror of
https://github.com/hmalik144/Driver.git
synced 2026-10-31 10:54:07 +00:00
- FirebaseTest.kt updated
Took 4 minutes
This commit is contained in:
1 parent
3e94f66768
commit
b897ed9b61
1 file changed
+1
-1
@@ -60,7 +60,7 @@ open class FirebaseTest<T : BaseActivity<*>>(
|
|||||||
|
|
||||||
// remove the user we created for testing
|
// remove the user we created for testing
|
||||||
suspend fun removeUser() {
|
suspend fun removeUser() {
|
||||||
getEmail()?.let {
|
firebaseAuthSource.getUser()?.email?.let {
|
||||||
firebaseAuthSource.reauthenticate(it, USER_PASSWORD).await()
|
firebaseAuthSource.reauthenticate(it, USER_PASSWORD).await()
|
||||||
firebaseAuthSource.deleteProfile().await()
|
firebaseAuthSource.deleteProfile().await()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user