bench-forgejo/services/auth
zeripath 6a33b290a0
Fix add authentication page (#16543)
* Fix add authentication page

There is a regression in #16199 whereby the add authentication page
fails to react to the change in selected type.

This is due to the String() method on the LoginSourceType which is ameliorated
with an Int() function being added.

Following on from this there are a few other related bugs.

Fix #16541

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-07-25 08:09:52 +01:00
..
source Fix add authentication page (#16543) 2021-07-25 08:09:52 +01:00
auth.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
auth_test.go Add sso.Group, context.Auth, context.APIAuth to allow auth special routes (#16086) 2021-06-09 19:53:16 +02:00
basic.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
group.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
interface.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
oauth2.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
placeholder.go Add sso.Group, context.Auth, context.APIAuth to allow auth special routes (#16086) 2021-06-09 19:53:16 +02:00
reverseproxy.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
session.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
signin.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
sspi_windows.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
sync.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00