Add possibility to create token when creating a user on command line #3090

Closed
opened 2025-11-02 05:00:29 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @morpheus-87 on GitHub (Mar 21, 2019).

  • Gitea version (or commit ref): 1.7.4
  • Git version: 2.11.0
  • Operating system: Raspbian
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

It would be great to add a flag to the create-user command line option, if an access token should be generated for the new user.

Screenshots

Originally created by @morpheus-87 on GitHub (Mar 21, 2019). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.7.4 - Git version: 2.11.0 - Operating system: Raspbian - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: ## Description It would be great to add a flag to the `create-user` command line option, if an access token should be generated for the new user. ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the type/enhancement label 2025-11-02 05:00:29 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3090