| Revision 1025,
731 bytes
checked in by benjamin, 7 years ago
(diff) |
|
force https parameter, Closes #71
|
| Line | |
|---|
| 1 | -- Pour les durées de comptes |
|---|
| 2 | ALTER IGNORE TABLE membres ADD COLUMN created datetime default NULL AFTER type; |
|---|
| 3 | ALTER IGNORE TABLE membres ADD COLUMN renewed datetime default NULL AFTER created; |
|---|
| 4 | ALTER IGNORE TABLE membres ADD COLUMN duration int(4) default NULL AFTER renewed; |
|---|
| 5 | |
|---|
| 6 | -- Pour l'encryptage des mots de passe ftp |
|---|
| 7 | ALTER IGNORE TABLE ftpusers ADD COLUMN encrypted_password VARCHAR(32) default NULL AFTER password; |
|---|
| 8 | UPDATE ftpusers SET encrypted_password=ENCRYPT(password) WHERE password!=''; |
|---|
| 9 | |
|---|
| 10 | -- Force le bureau https si voulu : |
|---|
| 11 | INSERT INTO variable SET name='force_https', value='0', comment='Shall we force the users to access the managment desktop through HTTPS only ? If this value is true, HTTPS access will be forced. '; |
|---|
Note: See
TracBrowser
for help on using the repository browser.