-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathauthConfig.ini
More file actions
40 lines (35 loc) · 912 Bytes
/
authConfig.ini
File metadata and controls
40 lines (35 loc) · 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
; ______ ______ __ __ ______ __ __
; /\ == \ /\ __ \ /\ \/\ \ /\__ _\ /\ \_\ \
; \ \ _-/ \ \ __ \ \ \ \_\ \ \/_/\ \/ \ \ __ \
; \ \_\ \ \_\ \_\ \ \_____\ \ \_\ \ \_\ \_\
; \/_/ \/_/\/_/ \/_____/ \/_/ \/_/\/_/
;
; Welcome to PAuth! Thanks for downloading it.
; This file is THE place to tweaks how the system works. Happy hacking!
;
; Be carefull though when changing this in a production environment.
; Changing some of this stuff may result in logging out all users.
[database]
driver=mysql
host=localhost
user=root
pass=
db=auth
tblPrefix=
[general]
IPHashing=On
rehashAtLogon=On
[login]
allowEmailLogin=On
allowUsernameLogin=On
expireTime=1800
[cookies]
userCookieName=sha_token_ID1
DBCookieName=sha_token_ID2
tokenLength=255
[hashing]
rounds=14
encryptSalt=On
tokenHashAlg=sha512
password2ndHashAlg=sha512
pepper="cvkSqfq7Z+lndnYe7kj+_Zn;IrW5vnBs"