Login/out – core/loginout
Show login & logout links.
Use the Login/out block to display a Login link of form, or Logout link, depending on the user’s logged in status.
Screenshot

Example
Login as a form or Logout link
Login or Logout as a link
Notes
- If the user is logged in then the Logout link is shown.
- If the user is logged out then the Login link or form is shown.
- Use the Display login as form toggle to display the Login form.
- Use the Redirect to current URL toggle to redirect the user back to the current page when logged in.
- When adding the block, you’ll see a dummy Logout link