25-1/25/1-secure and links

This commit is contained in:
Hamza-Ayed
2025-01-25 00:02:17 +03:00
parent 92861a8fc0
commit 46709df1e6
17 changed files with 295 additions and 113 deletions

View File

@@ -123,10 +123,8 @@ class GoogleSignInHelper {
static Future<void> _handleSignUp(GoogleSignInAccount user) async {
// Store driver information
box.write(
BoxName.driverID,
encryptionHelper.encryptData(user.id) ??
'Unknown ID'); // Ensure there's a fallback value
box.write(BoxName.driverID,
(user.id) ?? 'Unknown ID'); // Ensure there's a fallback value
box.write(BoxName.emailDriver,
encryptionHelper.encryptData(user.email) ?? 'Unknown Email');
}