File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
auth/src/main/java/com/firebase/ui/auth Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -282,9 +282,6 @@ public Task<AuthResult> silentSignIn(@NonNull Context context,
282
282
if (mAuth .getCurrentUser () != null ) {
283
283
throw new IllegalArgumentException ("User already signed in!" );
284
284
}
285
- if (desiredConfigs .isEmpty ()) {
286
- throw new IllegalArgumentException ("At least one provider must be specified." );
287
- }
288
285
289
286
List <IdpConfig > configs = new ArrayList <>();
290
287
for (IdpConfig config : desiredConfigs ) {
@@ -296,7 +293,8 @@ public Task<AuthResult> silentSignIn(@NonNull Context context,
296
293
}
297
294
298
295
if (configs .isEmpty ()) {
299
- throw new IllegalArgumentException ("No supported providers were supplied." );
296
+ throw new IllegalArgumentException ("No supported providers were supplied. " +
297
+ "Add either Google or email support." );
300
298
}
301
299
302
300
final Context appContext = context .getApplicationContext ();
You can’t perform that action at this time.
0 commit comments