Vicente G. Reyes
Posted on December 12, 2023
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 {
…
💖 💪 🙅 🚩
Vicente G. Reyes
Posted on December 12, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.