Skip to content

Commit

Permalink
Resolved Error in Login Route (#203)
Browse files Browse the repository at this point in the history
White Screen are Returned if no Next Parameter is Present in Login Route
  • Loading branch information
stanleyowen committed Jun 6, 2021
1 parent b8fe501 commit 1575309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/login.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const Login = ({ userData }) => {
const {server: SERVER_URL} = userData
const {mfa} = userData.type
const {email} = userData.credentials
const next = new URLSearchParams(window.location.search).get('next').toString()
const next = new URLSearchParams(window.location.search).get('next')
const [properties, setProperties] = useState({
honeypot: '',
verify: false,
Expand Down

0 comments on commit 1575309

Please sign in to comment.