Повторный вход в аккаунт, очистка кэша
This commit is contained in:
@@ -26,6 +26,8 @@ class AuthLocalDataSourceImpl implements AuthLocalDataSource {
|
||||
|
||||
@override
|
||||
Future<void> saveToken(String token) async {
|
||||
// ignore: avoid_print
|
||||
print('[DEBUG] Saving new access token (starts with: ${token.substring(0, 10)}...)');
|
||||
await sharedPreferences.setString(_accessTokenKey, token);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user