Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Logout Functionality | Authentication
course content

Зміст курсу

Next.js 14

Logout FunctionalityLogout Functionality

The final feature we need to develop is logging out.

Back to the Project

To implement the logout feature within the <SideNav /> component, invoke the signOut function from auth.ts within your <form> element:

app/ui/dashboard/sidenav.tsx

Test it using the following credentials:

  • mail: user@mail.com;
  • password: 123456.

In Practice

Все було зрозуміло?

Секція 7. Розділ 8
course content

Зміст курсу

Next.js 14

Logout FunctionalityLogout Functionality

The final feature we need to develop is logging out.

Back to the Project

To implement the logout feature within the <SideNav /> component, invoke the signOut function from auth.ts within your <form> element:

app/ui/dashboard/sidenav.tsx

Test it using the following credentials:

  • mail: user@mail.com;
  • password: 123456.

In Practice

Все було зрозуміло?

Секція 7. Розділ 8
some-alt