Closed amit3vedi closed 2 years ago
if user is not registered and try to do loginByPhoneCode it automatically registers user and user can login without registration. to prevent that i also tried passing autoRegister=false still behavior is same
loginByPhoneCode
autoRegister=false
You can use this method, It's supported. authenticationClient.loginByPhoneCode(new LoginByPhoneCodeInput(phone, phoneCode,false)).execute();
authenticationClient.loginByPhoneCode(new LoginByPhoneCodeInput(phone, phoneCode,false)).execute();
if user is not registered and try to do
loginByPhoneCode
it automatically registers user and user can login without registration. to prevent that i also tried passingautoRegister=false
still behavior is same