合并 verify 和 otp 界面,增加 password 界面
This commit is contained in:
@@ -798,7 +798,10 @@ export default class HomeScreen extends Component<any, HomeScreenState> {
|
||||
isDebug
|
||||
initialMobile={bindPrefillMobile}
|
||||
onRequestOTP={async (wt, p) => {
|
||||
return this.wrapOtpCall(() => Api.instance.requestOTP(wt, p.mobile, {}));
|
||||
return this.wrapOtpCall(() => Api.instance.requestOTP(wt, p.mobile, {
|
||||
...(p.sessionId ? { sessionId: p.sessionId } : {}),
|
||||
...(p.password ? { password: p.password } : {}),
|
||||
}));
|
||||
}}
|
||||
onVerifyOTP={async (wt, p) => {
|
||||
return this.wrapOtpCall(() => Api.instance.verifyOTP(wt, p.mobile, p.otp, {
|
||||
|
||||
Reference in New Issue
Block a user