multiaccounting

This commit is contained in:
Alexander Bersenev
2018-05-28 01:10:19 +05:00
parent f2278bb1ce
commit 2555db063d
2 changed files with 58 additions and 46 deletions

View File

@@ -1,5 +1,10 @@
PORT = 3256
# use only these chars in SECRET: 0123456789abcdef
# the length of secret should be 32
SECRET = '00000000000000000000000000000000'
# name -> secret (32 hex chars)
USERS = {
"tg": "00000000000000000000000000000000",
"tg2": "0123456789abcdef0123456789abcdef"
}
# disables transit traffic reencryption, faster but less secure
FAST_MODE = False