Skip to content

Commit

Permalink
Merge branch 'main' into forms4-11
Browse files Browse the repository at this point in the history
  • Loading branch information
iaAbdulghani committed Apr 13, 2024
2 parents 6e22a4d + b648918 commit 088c643
Show file tree
Hide file tree
Showing 12 changed files with 447 additions and 155 deletions.
49 changes: 29 additions & 20 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion frontend/.env
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
NEXT_PUBLIC_API_BASE_URL=https://combined-community-action.vercel.app
#NEXT_PUBLIC_API_BASE_URL=https://combined-community-action.vercel.app
NEXT_PUBLIC_API_BASE_URL=http://localhost:8000
2 changes: 2 additions & 0 deletions frontend/src/app/auth/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import Link from 'next/link';
import { useRouter } from 'next/navigation';
import { useUserContext } from '@/context/userContext';
import { CodeInput } from '@/components/auth/CodeInput';
import { cookies } from 'next/headers';

interface PageProps {}

Expand Down Expand Up @@ -35,6 +36,7 @@ const Page: FC<PageProps> = () => {
email: emailInput,
password: passwordInput,
}),
credentials: 'include',
})
.then((res) => {
if (res.ok) {
Expand Down
Loading

0 comments on commit 088c643

Please sign in to comment.