1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 06:04:25 +00:00
gitea/models/login
David Jimenez fa8b8c055d
Don't panic if we fail to parse U2FRegistration data (#17304)
* Don't panic if we fail to parse a U2FRegistration data

Downgrade logging statement from Fatal to Error so that errors parsing
U2FRegistration data does not panic; instead, the invalid key will be
skipped and we will attempt to parse the next one, if available.

Signed-off-by: David Jimenez <dvejmz@sgfault.com>
2021-10-14 18:37:35 +02:00
..
main_test.go Move twofactor to models/login (#17143) 2021-09-25 15:00:12 +02:00
oauth2_application_test.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
oauth2_application.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
oauth2.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
source_test.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
source.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
twofactor.go Move twofactor to models/login (#17143) 2021-09-25 15:00:12 +02:00
u2f_test.go Don't panic if we fail to parse U2FRegistration data (#17304) 2021-10-14 18:37:35 +02:00
u2f.go Don't panic if we fail to parse U2FRegistration data (#17304) 2021-10-14 18:37:35 +02:00