aboutsummaryrefslogtreecommitdiff
path: root/conf/auth.d/pam.conf.example
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2018-04-12 09:55:58 -0400
committerUnknwon <u@gogs.io>2018-04-12 09:55:58 -0400
commitf2ecfdc96a338815ffb2be898b3114031f0da48c (patch)
tree68e98cdb346e8d57e7d1b25169b391dd7afc0037 /conf/auth.d/pam.conf.example
parent717d409b7273f7874c38268e1b908596277dacac (diff)
auth: support authentication source config file (#3142)
Diffstat (limited to 'conf/auth.d/pam.conf.example')
-rw-r--r--conf/auth.d/pam.conf.example10
1 files changed, 10 insertions, 0 deletions
diff --git a/conf/auth.d/pam.conf.example b/conf/auth.d/pam.conf.example
new file mode 100644
index 00000000..12f8d58f
--- /dev/null
+++ b/conf/auth.d/pam.conf.example
@@ -0,0 +1,10 @@
+# This is an example of PAM authentication
+#
+id = 104
+type = pam
+name = System Auth
+is_activated = true
+
+[config]
+service_name = system-auth
+