[mob][auth] Send login purpose during ott (#4227)
## Description ## Tests
This commit is contained in:
@@ -49,8 +49,12 @@ class _LoginPageState extends State<LoginPage> {
|
||||
),
|
||||
);
|
||||
} else {
|
||||
await UserService.instance
|
||||
.sendOtt(context, _email!, isCreateAccountScreen: false);
|
||||
await UserService.instance.sendOtt(
|
||||
context,
|
||||
_email!,
|
||||
isCreateAccountScreen: false,
|
||||
purpose: 'login',
|
||||
);
|
||||
}
|
||||
FocusScope.of(context).unfocus();
|
||||
}
|
||||
|
||||
@@ -93,8 +93,12 @@ class _LoginPageState extends State<LoginPage> {
|
||||
),
|
||||
);
|
||||
} else {
|
||||
await UserService.instance
|
||||
.sendOtt(context, _email!, isCreateAccountScreen: false);
|
||||
await UserService.instance.sendOtt(
|
||||
context,
|
||||
_email!,
|
||||
isCreateAccountScreen: false,
|
||||
purpose: "login",
|
||||
);
|
||||
}
|
||||
FocusScope.of(context).unfocus();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user