mirror of
https://github.com/gogs/gogs.git
synced 2025-12-24 01:00:00 +01:00
login_source: add default authentication switch (#5338)
* Add default Authentication Switch. * adjust the code accroding to reviews * #1. Remove redudant logic. #2, Fix a bug in "Edit" panel. * Remove unused logic * Fix local authentication files are not flushed. * refactor according to review.
This commit is contained in:
@@ -32,6 +32,7 @@ type Authentication struct {
|
||||
GroupMemberUID string
|
||||
UserUID string
|
||||
IsActive bool
|
||||
IsDefault bool
|
||||
SMTPAuth string
|
||||
SMTPHost string
|
||||
SMTPPort int
|
||||
|
||||
Reference in New Issue
Block a user