[PR #2266] [MERGED] Fix code blocks in "Passkey" #4236

Closed
opened 2026-03-13 11:38:56 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2266
Author: @DePasqualeOrg
Created: 4/13/2025
Status: Merged
Merged: 4/25/2025
Merged by: @Kinfe123

Base: mainHead: fix-code-blocks


📝 Commits (2)

  • b2c669c Fix code blocks in "Passkey"
  • bf019cf Remove incorrect titles from code blocks

📊 Changes

1 file changed (+13 additions, -32 deletions)

View changed files

📝 docs/content/docs/plugins/passkey.mdx (+13 -32)

📄 Description

I fixed the indentation in the first code block and removed duplicated code in the last two.

However, the docs don't provide enough info on how and where addPasskey and signIn.passkey should be used. Currently these code blocks include the title auth-client.ts, but I believe this is incorrect.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/2266 **Author:** [@DePasqualeOrg](https://github.com/DePasqualeOrg) **Created:** 4/13/2025 **Status:** ✅ Merged **Merged:** 4/25/2025 **Merged by:** [@Kinfe123](https://github.com/Kinfe123) **Base:** `main` ← **Head:** `fix-code-blocks` --- ### 📝 Commits (2) - [`b2c669c`](https://github.com/better-auth/better-auth/commit/b2c669cf2f64096013219abbe628e1f6692130d9) Fix code blocks in "Passkey" - [`bf019cf`](https://github.com/better-auth/better-auth/commit/bf019cf25bb06b8ef685b1efc5b4ed401adf998a) Remove incorrect titles from code blocks ### 📊 Changes **1 file changed** (+13 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/passkey.mdx` (+13 -32) </details> ### 📄 Description I fixed the indentation in the first code block and removed duplicated code in the last two. However, the docs don't provide enough info on how and where `addPasskey` and `signIn.passkey` should be used. Currently these code blocks include the title `auth-client.ts`, but I believe this is incorrect. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 11:38:56 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#4236