Skip to content

Commit

Permalink
changes to google signup
Browse files Browse the repository at this point in the history
  • Loading branch information
Alec-Watson committed Oct 18, 2024
1 parent db62de9 commit a1dd426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CoVAR-app/src/app/(pages)/login/signupForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const Signup: React.FC<SignupProps> = ({ toggleForm }) => {
throw error;
}
const { role } = getUserResponse.data;
if (getUserResponse.status === 200) {
if (getUserResponse.status === 201) {
if (role === "unauthorised") {
router.replace('/lounge');
} else {
Expand Down

0 comments on commit a1dd426

Please sign in to comment.