Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Implementing Logout Functionality | Implementing Authentication in Next.js
/
Next.js 14 Mastery for Building Modern Web Apps

bookImplementing Logout 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:

Test it using the following credentials:

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

In Practice

すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 7.  8

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

セクション 7.  8
some-alt