25-5-30/1
This commit is contained in:
@@ -90,10 +90,7 @@ class LoginPage extends StatelessWidget {
|
||||
User? user = await authController.signInWithApple();
|
||||
if (user != null) {
|
||||
box.write(BoxName.passengerID, user.uid);
|
||||
box.write(
|
||||
BoxName.email,
|
||||
EncryptionHelper.instance
|
||||
.encryptData(user.email.toString()));
|
||||
box.write(BoxName.email, (user.email.toString()));
|
||||
await controller.loginUsingCredentials(
|
||||
box.read(BoxName.passengerID).toString(),
|
||||
box.read(BoxName.email).toString(),
|
||||
|
||||
@@ -35,7 +35,7 @@ class VerifyEmailPage extends StatelessWidget {
|
||||
SizedBox(
|
||||
width: 100,
|
||||
child: TextField(
|
||||
controller: controller.verfyCode,
|
||||
controller: controller.verifyCode,
|
||||
decoration: InputDecoration(
|
||||
labelStyle: AppStyle.title,
|
||||
border: const OutlineInputBorder(),
|
||||
|
||||
Reference in New Issue
Block a user