initial username and passwd does not work #9490

Closed
opened 2025-11-02 08:40:33 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @NikolayUvarov on GitHub (Aug 31, 2022).

Description

Setting username gitea, pass gittea. It is saved to ini file as plaintext, but when logging in got wron password error.

Gitea Version

1.17.1

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

commandline centos7

Database

No response

Originally created by @NikolayUvarov on GitHub (Aug 31, 2022). ### Description Setting username gitea, pass gittea. It is saved to ini file as plaintext, but when logging in got wron password error. ### Gitea Version 1.17.1 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? commandline centos7 ### Database _No response_
GiteaMirror added the type/bug label 2025-11-02 08:40:33 -06:00
Author
Owner

@NikolayUvarov commented on GitHub (Aug 31, 2022):

I leave admin section unfilled so mixed up pass of db with user pass. When you fill in admin section all work ok.

@NikolayUvarov commented on GitHub (Aug 31, 2022): I leave admin section unfilled so mixed up pass of db with user pass. When you fill in admin section all work ok.
Author
Owner

@lunny commented on GitHub (Aug 31, 2022):

The admin name and password will never save into app.ini.

@lunny commented on GitHub (Aug 31, 2022): The admin name and password will never save into app.ini.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9490