RED-6713: store tenant with username or email
This commit is contained in:
parent
8be2955bcb
commit
f98edcaca6
@ -57,7 +57,8 @@ export const mainResolver: ResolveFn<void> = async () => {
|
||||
}
|
||||
|
||||
loadingService.stop();
|
||||
tenantsService.storeTenant(userService.currentUser.email);
|
||||
const currentUser = userService.currentUser;
|
||||
tenantsService.storeTenant(currentUser.email ?? currentUser.username);
|
||||
|
||||
logger.info('[ROUTES] Main resolver finished!');
|
||||
};
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit daf516e9fef6206f39d4bbfff3ff6b4b763f4685
|
||||
Subproject commit 140ad55646af8c19982a0f69877908c3f998d9d9
|
||||
Loading…
x
Reference in New Issue
Block a user