Can still access login page after logging in using ReactJS and dj-rest-auth

1 · Vicente G. Reyes · Dec. 12, 2023, 8:38 a.m.
Can still access login page after logging in using ReactJS and dj-rest-auth Dec 12 '23 Comments: 1 Answers: 0 0 I'm using dj-rest-auth for the authentication endpoints in my django project and reactjs in the frontend of my project. What happens if after I login, the user can still go to the /login page which should not. Here's my LoginForm code: import React, { useState } from 'react' import {… Open Full Question ...