mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-15 04:12:30 -06:00
fix: Add custom fields, translations, add app logs to login routes
This commit is contained in:
@@ -112,6 +112,8 @@ class AuthenticationCubit extends Cubit<AuthenticationState> {
|
||||
/// Switches to another account if it exists.
|
||||
Future<void> switchAccount(String localUserId) async {
|
||||
emit(const SwitchingAccountsState());
|
||||
await FileService.instance.initialize();
|
||||
|
||||
final redactedId = redactUserId(localUserId);
|
||||
logger.fd(
|
||||
'Trying to switch to user $redactedId...',
|
||||
|
||||
Reference in New Issue
Block a user