0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-03-31 07:51:29 -05:00
forgejo/routers
zeripath 7e98cd58dd
Add SkipLocal2FA option to pam and smtp sources ()
* Add SkipLocal2FA option to other pam and smtp sources

Extend  to allow setting skip local 2fa on pam and SMTP authentication sources

Signed-off-by: Andrew Thornton <art27@cantab.net>

* make SkipLocal2FA omitempty

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: 6543 <6543@obermui.de>
2021-09-26 21:02:01 -04:00
..
api/v1 Move login related structs and functions to models/login () 2021-09-24 19:32:56 +08:00
common Move db related basic functions to models/db () 2021-09-19 19:49:59 +08:00
install Move db related basic functions to models/db () 2021-09-19 19:49:59 +08:00
private refactor: move from io/ioutil to io and os package () 2021-09-22 13:38:34 +08:00
utils just add some unit tests () 2021-06-29 22:00:02 +01:00
web Add SkipLocal2FA option to pam and smtp sources () 2021-09-26 21:02:01 -04:00
init.go Always emit the configuration path () 2021-09-13 21:24:57 -04:00