3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-25 04:02:45 +01:00

example-conf: add migration notes for login:user/password deprecation

This commit is contained in:
James Lu 2016-12-16 18:40:27 -08:00
parent 045abfa9c1
commit 1fd7aba3b0

View File

@ -46,8 +46,14 @@ bot:
save_delay: 300
login:
# NOTE: for users migrating from PyLink < 1.1, the old login:user/login:password settings
# have been deprecated. We strongly recommend migrating to the new "accounts:" block below, as
# it supports multiple accounts, hashed passwords, and allows more flexibility (accounts no
# longer imply admin access). However, you must also add your account to the "permissions:"
# block below, or you will lose IRC administration access to your PyLink daemon!
accounts:
# Creates an account with username "user1".
# Creates an account with username "user1". You can define other usernames at the
# same level here (key name is user name).
user1:
# Defines the password for the user. You can encrypt passwords using the
# 'mkpasswd' command or the 'pylink-mkpasswd' utility included with PyLink.
@ -58,7 +64,8 @@ login:
encrypted: true
permissions:
# Permissions are described in more detail in example-permissions.yml.
# Permissions are described in more detail in example-permissions.yml, if you want to
# customize permissions further.
# Replace ABC123 with your PyLink account name (configured above)
# in order to give yourself admin access.