diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl index 59990fc37..a18a782fc 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 000000000..213195021 --- /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 000000000..4d8e12e02 --- /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 000000000..d4c83c171 --- /dev/null +++ b/templates/admin/auth/source/smtp.tmpl @@ -0,0 +1,28 @@ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +

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

+
+