forked from liamjack/Auth
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
30 lines (21 loc) · 1.15 KB
/
config.php
File metadata and controls
30 lines (21 loc) · 1.15 KB
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
<?php
// ------------------------
// MySQL Configuration :
// ------------------------
$db['host'] = "********";
$db['user'] = "********";
$db['pass'] = "********";
$db['name'] = "********";
// ------------------------
// Auth Configuration :
// ------------------------
$auth_conf['site_name'] = "Auth Test"; // Name of website to appear in emails
$auth_conf['email_from'] = "no-reply@auth.cuonic.tk"; // Email FROM address for Auth emails (Activation, password reset...)
$auth_conf['max_attempts'] = 5; // INT : Max number of attempts for login before user is locked out
$auth_conf['base_url'] = "http://auth.cuonic.tk/"; // URL to Auth Class installation root WITH trailing slash
$auth_conf['session_duration'] = "+1 month"; // Amount of time session lasts for. Only modify if you know what you are doing ! Default = +1 month
$auth_conf['security_duration'] = "+30 minutes"; // Amount of time to lock a user out of Auth Class afetr defined number of attempts.
$auth_conf['salt_1'] = "us_$dUDN4N-53"; // Salt #1 for password encryption
$auth_conf['salt_2'] = "Yu23ds09*d?"; // Salt #1 for password encryption
$loc = "en"; // Language of Auth Class output : en / fr
?>