[PR #306] [CLOSED] Use environment variables to set the default user #564

Closed
opened 2026-02-25 23:34:44 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-shiori/shiori/pull/306
Author: @soulteary
Created: 5/7/2021
Status: Closed

Base: masterHead: set-default-user-from-env


📝 Commits (1)

  • d5eaeed Use environment variables to set the default user

📊 Changes

1 file changed (+12 additions, -2 deletions)

View changed files

📝 internal/webserver/handler-api.go (+12 -2)

📄 Description

This PR made some minor adjustments to make it easier for docker users to use.

Allow users to use environment variables to set the account used to run the program for the first time.

You can even use the initial account directly, so it can be used out of the box.


🔄 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/go-shiori/shiori/pull/306 **Author:** [@soulteary](https://github.com/soulteary) **Created:** 5/7/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `set-default-user-from-env` --- ### 📝 Commits (1) - [`d5eaeed`](https://github.com/go-shiori/shiori/commit/d5eaeed0a38c163be7f623b1bf0e73043022873f) Use environment variables to set the default user ### 📊 Changes **1 file changed** (+12 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `internal/webserver/handler-api.go` (+12 -2) </details> ### 📄 Description This PR made some minor adjustments to make it easier for docker users to use. Allow users to use environment variables to set the account used to run the program for the first time. You can even use the initial account directly, so it can be used out of the box. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 23:34:44 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#564
No description provided.