Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
metalurgical committed Oct 9, 2024
1 parent 87bc95f commit 41ec6b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/CustomAuth/Handlers/HandlerFactory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ internal class HandlerFactory {
case .email_password: break
case .passwordless:
if domain == nil || hint == nil {
throw CASDKError.unsupportedLoginType
throw CASDKError.invalidAuth0Options
}
throw CASDKError.invalidAuth0Options
throw CASDKError.unsupportedLoginType
case .email_passwordless:
if hint == nil {
throw CASDKError.invalidAuth0Options
Expand Down

0 comments on commit 41ec6b1

Please sign in to comment.