Open sahmadreza opened 1 year ago
Describe the bug Login after sign up not working when setting additionalSignupFields
additionalSignupFields
To Reproduce Steps to reproduce the behavior:
loginAfterSignUp: true
additionalSignupFields: [ UserFormField( keyName: "aEmail", displayName: S.current.inputHintEmail, icon: const Icon(Icons.email_rounded), userType: LoginUserType.name, fieldValidator: (val) { if (val == null || val.isEmpty) { return S.current.inputValidatorEmailRequired; } if (isEmail(val)) return null; return S.current.inputValidatorAuthWrong; }, ), ],
onSignup
onLogin
Expected behavior After sign up function onLogin called after onSignup
Information (please complete the following information):
Describe the bug Login after sign up not working when setting
additionalSignupFields
To Reproduce Steps to reproduce the behavior:
loginAfterSignUp: true
additionalSignupFields
onSignup
called andonLogin
not calledExpected behavior After sign up function
onLogin
called afteronSignup
Information (please complete the following information):