mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 19:48:08 +00:00
fix: Allow users to login even if they have access to more than 15 accounts (#4475)
This commit is contained in:
@@ -44,7 +44,7 @@ export const getPushSubscriptionPayload = subscription => ({
|
||||
});
|
||||
|
||||
export const sendRegistrationToServer = subscription => {
|
||||
if (auth.isLoggedIn()) {
|
||||
if (auth.hasAuthCookie()) {
|
||||
return NotificationSubscriptions.create(
|
||||
getPushSubscriptionPayload(subscription)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user