Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions content/docs/guides/pocket-id.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ services:
[configuration](/docs/reference/configuration) page for details.
</Callout>

<Callout type="info">
Remove the `USERS` environment variable to enforce only Pocket ID for Tinyauth-protected apps and disable username, password login form.
</Callout>
Comment on lines +65 to +67
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

# Search for USERS environment variable references and its usage
rg -i "USERS" --type=ts --type=js --type=py --type=json -n

Repository: steveiliop56/tinyauth-docs

Length of output: 52


🏁 Script executed:

# Search for login form and authentication logic
rg -i "login.*form|username.*password|auth" --type=ts --type=js -n | head -50

Repository: steveiliop56/tinyauth-docs

Length of output: 2448


🏁 Script executed:

# Look for environment variable handling and conditional rendering
rg -i "process\.env|getenv" --type=ts --type=js --type=py -n | head -40

Repository: steveiliop56/tinyauth-docs

Length of output: 52


🏁 Script executed:

# Check if there are any references to the behavior or any implementation details in the docs
fd pocket-id
cat -n content/docs/guides/pocket-id.mdx | sed -n '60,75p'

Repository: steveiliop56/tinyauth-docs

Length of output: 1246


Fix grammar in the callout text.

The phrase "disable username, password login form" is missing an article and contains improper punctuation.

📝 Proposed fix
 <Callout type="info">
-  Remove the `USERS` environment variable to enforce only Pocket ID for Tinyauth-protected apps and disable username, password login form.
+  Remove the `USERS` environment variable to enforce only Pocket ID for Tinyauth-protected apps and disable the username/password login form.
 </Callout>
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<Callout type="info">
Remove the `USERS` environment variable to enforce only Pocket ID for Tinyauth-protected apps and disable username, password login form.
</Callout>
<Callout type="info">
Remove the `USERS` environment variable to enforce only Pocket ID for Tinyauth-protected apps and disable the username/password login form.
</Callout>
🤖 Prompt for AI Agents
In @content/docs/guides/pocket-id.mdx around lines 65 - 67, Summary: Fix grammar
in the Callout text inside the Callout component. Update the Callout (Callout
type="info") message so it reads clearly and includes the missing article and
correct punctuation; replace "disable username, password login form" with
"disable the username/password login form" (e.g., "Remove the `USERS`
environment variable to enforce only Pocket ID for Tinyauth-protected apps and
disable the username/password login form.").


Restart Tinyauth to apply the changes. The login screen will now include an option to log in with Pocket ID.

## Access Controls with Pocket ID Groups
Expand Down