-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cf7af26
commit 6fbf493
Showing
7 changed files
with
63 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Currently this option is not enforced. See current auth documentation for | ||
# more information. | ||
minPasswordLen = 8 | ||
|
||
# Name of the cookie to use for remembering the logged in user. | ||
rememberCookie = "_remember" | ||
|
||
# Number of seconds of inactivity before the user is logged out. If ommitted, | ||
# the user will remain logged in until the end of the session. | ||
rememberPeriod = 1209600 # 2 weeks | ||
|
||
# Lockout strategy. The first value is the max number of invalid login | ||
# attempts before lockout. The second value is how long the locked lasts. If | ||
# ommitted, then incorrect passwords will never result in lockout. | ||
# lockout = [5, 86400] | ||
|
||
# File where the auth encryption key is stored. | ||
siteKey = "site_key.txt" | ||
|
||
# Name of the table where the user data is stored. | ||
authTable = "snap_auth_user" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
host = "localhost" | ||
port = 5432 | ||
user = "postgres" | ||
pass = "" | ||
db = "testdb" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters