From 68a65798520556ff7130d7e7e53bd260d890bb7c Mon Sep 17 00:00:00 2001 From: haixunlu Date: Thu, 13 Sep 2018 10:49:07 -0700 Subject: 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. --- pkg/form/auth.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/form/auth.go') diff --git a/pkg/form/auth.go b/pkg/form/auth.go index b846fc19..b2ee3ae8 100644 --- a/pkg/form/auth.go +++ b/pkg/form/auth.go @@ -32,6 +32,7 @@ type Authentication struct { GroupMemberUID string UserUID string IsActive bool + IsDefault bool SMTPAuth string SMTPHost string SMTPPort int -- cgit v1.2.3