fix : obscure password in auth
This commit is contained in:
@@ -24,7 +24,7 @@ class AuthLogic extends GetxController {
|
||||
|
||||
Rx<GlobalKey<FormState>> formKeyOtp = GlobalKey<FormState>().obs;
|
||||
Rx<GlobalKey<FormState>> formKeySentOtp = GlobalKey<FormState>().obs;
|
||||
Rx<TextEditingController> phoneNumberController = TextEditingController().obs;
|
||||
Rx<TextEditingController> usernameController = TextEditingController().obs;
|
||||
Rx<TextEditingController> passwordController = TextEditingController().obs;
|
||||
Rx<TextEditingController> phoneOtpNumberController =
|
||||
TextEditingController().obs;
|
||||
@@ -95,7 +95,7 @@ class AuthLogic extends GetxController {
|
||||
}
|
||||
|
||||
LoginRequestModel _buildLoginRequest() {
|
||||
final phone = phoneNumberController.value.text;
|
||||
final phone = usernameController.value.text;
|
||||
final pass = passwordController.value.text;
|
||||
final code = captchaController.textController.value.text;
|
||||
final key = captchaController.captchaKey.value;
|
||||
|
||||
@@ -144,7 +144,7 @@ class AuthPage extends GetView<AuthLogic> {
|
||||
minWidth: 40,
|
||||
),
|
||||
),
|
||||
controller.phoneNumberController,
|
||||
controller.usernameController,
|
||||
),
|
||||
const SizedBox(height: 26),
|
||||
ObxValue(
|
||||
|
||||
Reference in New Issue
Block a user