0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-19 00:11:24 +01:00
gitea/routers/web/user/setting
Gusted 253d9e4158
Remove unnecassary calls to filepath.Join (#17608)
- Partialy resolvess #17596
- Resolves `badCall` errors from go-critic `badCall: suspicious Join on
1 argument`
- When only 1 argument is passed into `filepath.Join`, it won't do
anything special other than `filepath.Clean(...)` will be applied over
it.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
2021-11-15 14:02:53 +08:00
..
account.go Move EmailAddress & UserRedirect into models/user/ (#17607) 2021-11-11 15:03:30 +08:00
account_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
adopt.go Remove unnecassary calls to filepath.Join (#17608) 2021-11-15 14:02:53 +08:00
applications.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
keys.go Fix wrong i18n keys (#17150) 2021-09-25 16:27:01 +02:00
main_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
oauth2.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
profile.go Remove unnecassary calls to filepath.Join (#17608) 2021-11-15 14:02:53 +08:00
security.go Allow U2F 2FA without TOTP (#11573) 2021-11-08 23:47:19 +01:00
security_openid.go Rename context.Query to context.Form (#16562) 2021-07-29 03:42:15 +02:00
security_twofa.go Fix wrong i18n keys (#17150) 2021-09-25 16:27:01 +02:00
security_u2f.go Move twofactor to models/login (#17143) 2021-09-25 15:00:12 +02:00