1
1
mirror of https://gitea.com/gitea/tea synced 2024-11-23 00:12:05 +01:00
tea/modules/config
6543 c063329e9a [Refactor] unexport config.Config var & move login tasks to task module (#288)
Unexport generateToken()

move CreateLogin into task

Create func config.SetDefaultLogin()

Unexport loadConfig() & saveConfig

unexport config var

make SetDefaultLogin() case insensitive

update func descriptions

move FindSSHKey to task module

Reviewed-on: https://gitea.com/gitea/tea/pulls/288
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Co-Authored-By: 6543 <6543@obermui.de>
Co-Committed-By: 6543 <6543@obermui.de>
2020-12-12 21:28:37 +08:00
..
command.go [Refactor] unexport config.Config var & move login tasks to task module (#288) 2020-12-12 21:28:37 +08:00
config.go [Refactor] unexport config.Config var & move login tasks to task module (#288) 2020-12-12 21:28:37 +08:00
login.go [Refactor] unexport config.Config var & move login tasks to task module (#288) 2020-12-12 21:28:37 +08:00