Description
- Gitea version (or commit ref): 1.8.1
- Git version: 2.7.4
- Operating system: Ubuntu 16.04
- 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
Greetings!
I'm using Gitea 1.8.1 with MySQL 5.7. And if I'm using MySQL for session storing purposes, I can see the credentials in GUI as plaintext.
Steps to reproduce
- Select MySQL like a sessions storage in the config file:
[session]
PROVIDER = mysql
PROVIDER_CONFIG = someclient:somepassword@tcp(srv-mysql:3306)/someclient
- Reload Gitea
- Login in into Gitea with admin credentials
- Follow this way: Site Administration ⇒ Configuration ⇒ Session Configuration ⇒ Provider Config
Activity