Archived
Menyesuaikan algoritme auth
This commit is contained in:
1 parent
7e84f7bd23
commit
aad2491b78
3 files changed
+3
-7
No files matched your search
@@ -64,11 +64,7 @@ class BluclasPlugin(private val activity: Activity) : Plugin(activity) {
|
||||
)
|
||||
handleSignInResult(result, invoke)
|
||||
} catch (e: NoCredentialException) {
|
||||
if (args.filterByAuthorizedAccounts) {
|
||||
signInWithAllAccounts(idKlien, invoke)
|
||||
} else {
|
||||
invoke.reject("Tidak ada kredensial Google yang tersedia: ${e.message}")
|
||||
}
|
||||
signInWithAllAccounts(idKlien, invoke)
|
||||
} catch (e: GetCredentialException) {
|
||||
invoke.reject("Gagal masuk: ${e.message}")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user