Skip to content

Commit

Permalink
Add session logging to login page
Browse files Browse the repository at this point in the history
  • Loading branch information
docimin committed Nov 25, 2023
1 parent c147d22 commit a1a98ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/login/page.client.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ const Login = () => {
"https://appwrite.headpat-de.pages.dev/",
"https://appwrite.headpat-de.pages.dev/login?failure=true"
);

const session = account.getSession("current");

console.log(session);
};

const handleGithubLogin = async () => {
Expand Down

0 comments on commit a1a98ae

Please sign in to comment.