feat: add SMTP email support and fix profile/permissions bugs
This commit is contained in:
@@ -131,7 +131,7 @@ export const useAuthStore = create<AuthState>((set) => ({
|
||||
fetchMe: async () => {
|
||||
set({ isLoading: true, error: null });
|
||||
try {
|
||||
const user = await api.get<User>("/auth/me");
|
||||
const user = await api.get<User>(`/auth/me?t=${Date.now()}`);
|
||||
set({ user, isAuthenticated: true, isLoading: false });
|
||||
} catch (error) {
|
||||
set({
|
||||
|
||||
Reference in New Issue
Block a user