feat(users): add reset password functionality for users and implement forgot password page
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import ReconnectingWebSocket from 'reconnecting-websocket';
|
||||
import { getToken } from './storage';
|
||||
import { getAccessToken } from './storage';
|
||||
|
||||
type MessageHandler = (data: any) => void;
|
||||
|
||||
@@ -16,7 +16,7 @@ class WSClient {
|
||||
if (this.ws) return;
|
||||
let token = '';
|
||||
if (isAuthenticated) {
|
||||
token = getToken();
|
||||
token = getAccessToken();
|
||||
}
|
||||
let wsUrl = url;
|
||||
if (url.startsWith('/')) {
|
||||
|
||||
Reference in New Issue
Block a user