diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl index 59990fc37e..a18a782fc1 100644 --- a/templates/admin/auth/new.tmpl +++ b/templates/admin/auth/new.tmpl @@ -29,101 +29,10 @@ -
-
- - -
-
- - -
-
- - -
-
- - -
- -
- - -

{{.i18n.Tr "admin.auths.bind_password_helper"}}

-
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
+ {{ template "admin/auth/source/ldap" . }} -
-
- - -
-
- - -
-
- - -
-
- - -

{{.i18n.Tr "admin.auths.allowed_domains_helper"}}

-
-
+ {{ template "admin/auth/source/smtp" . }}
@@ -132,29 +41,7 @@
-
-
- - -
-
- - -
-
- - -
-
+ {{ template "admin/auth/source/oauth" . }}
diff --git a/templates/admin/auth/source/ldap.tmpl b/templates/admin/auth/source/ldap.tmpl new file mode 100644 index 0000000000..2131950212 --- /dev/null +++ b/templates/admin/auth/source/ldap.tmpl @@ -0,0 +1,65 @@ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ +
+ + +

{{.i18n.Tr "admin.auths.bind_password_helper"}}

+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
diff --git a/templates/admin/auth/source/oauth.tmpl b/templates/admin/auth/source/oauth.tmpl new file mode 100644 index 0000000000..4d8e12e028 --- /dev/null +++ b/templates/admin/auth/source/oauth.tmpl @@ -0,0 +1,23 @@ +
+
+ + +
+
+ + +
+
+ + +
+
diff --git a/templates/admin/auth/source/smtp.tmpl b/templates/admin/auth/source/smtp.tmpl new file mode 100644 index 0000000000..d4c83c171a --- /dev/null +++ b/templates/admin/auth/source/smtp.tmpl @@ -0,0 +1,28 @@ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +

{{.i18n.Tr "admin.auths.allowed_domains_helper"}}

+
+