Commit Graph
1793 Commits
Author SHA1 Message Date
Christian Boltz fe5e256b6d Merge pull request #79 from Ecodev/harden-password-reset
Harden password reset process
2017-10-09 22:44:10 +02:00
Sylvain Tissot ffb84283c2 Harden password reset process
The improvements are:

- Die with an explicit message when a user is trying to reset his lost password and the option is disabled in config
- Redirect user to main page after password change using relative URL
- Don't leak info whether user exists or has recovery info defined
- Throttle password reset requests to prevent brute force attacks
- Show phone/alt email fields in mailbox/admin edit form only when the password reset option is enabled
- Make database upgrade code compatible with other databases types
- Use the existing password generator to generate OTP. It is now stored in database, unique to each user, valid only for 1 hour and can only by used once.
2017-10-09 11:45:51 +09:00
David Goodwin 8bb6000072 Merge pull request #60 from Vilican/master
Security fixes
2017-10-06 11:19:26 +01:00
David Goodwin db06ac919c Merge pull request #82 from evaryont/sqlite-v1837
Upgrade SQlite db to v1837
2017-10-06 10:02:08 +01:00
Colin Shea f568309ef5 Upgrade SQlite db to v1837
Includes a TODO for v1836. Not sure if it's needed... Haven't ran into
any issues yet.
2017-10-05 18:46:34 -07:00
David Goodwin c5136c408d improve config file loading when installed from a debian package 2017-09-19 13:24:13 +01:00
Christian Boltz ae56c2b700 Fix syntax error in viewlog.php
Reported in issue #74
2017-09-13 18:02:56 +02:00
David Goodwin dd06aa75e0 attempt at fixing various .deb issues - link templates_c to /var/cache/postfixadmin; add postfixadmin-cli to deb and symlink into /usr/bin 2017-09-07 15:00:52 +01:00
David Goodwin 252d42dcc0 fix perms (executable) 2017-09-07 14:54:32 +01:00
David Goodwin 5c2e3d1e00 possible changes for deb package to include postfixadmin-cli in /usr/bin 2017-09-07 14:34:51 +01:00
David Goodwin 6258cc669d update quilt patches 2017-09-07 14:22:57 +01:00
David Goodwin 2fc36e82ad see #74 - fix undefined $CONF[page_size] 2017-09-05 21:12:45 +01:00
David Goodwin 4b999b3f6b improve mysqli connection settings - see https://github.com/postfixadmin/postfixadmin/issues/73 2017-09-05 10:09:36 +01:00
Matyáš Koc 3c95ec4a09 Add CSRF token 2017-09-03 14:55:50 +02:00
Matyáš Koc 9f30aa5ff4 Handle logout in a new way (user login) 2017-09-03 14:52:52 +02:00
Matyáš Koc 74c29f8a10 Handle logout in a new way (admin login) 2017-09-03 14:51:59 +02:00
David Goodwin 82e7bdfda3 fix surname typo 2017-09-01 09:07:34 +01:00
David Goodwin 9dbeb68f9a add TODO 2017-08-31 12:47:25 +01:00
David Goodwin 2b04b72072 remove unnecessary nesting, reindent, make it print out what it might do before breaking stuff etc 2017-08-31 12:45:33 +01:00
David Goodwin 9b16645c0f Merge pull request #70 from Seitanas/master
virtualmaildel.php with PHP mysqli extension.
2017-08-31 12:30:08 +01:00
Seitanas 72288b8402 Updated to use PHP mysqli extension. 2017-08-31 11:59:47 +03:00
David Goodwin 0b70b5c686 resync debian/control with debian stretch 2017-08-30 08:33:29 +01:00
David Goodwin 9841c7c86b bump file 2017-08-22 21:16:18 +01:00
David Goodwin c476a61ec4 clear stat cache so the is_writeable() result will eventually change with subsequent page reloads if the user has actually fixed the dir 2017-08-22 21:16:09 +01:00
David Goodwin 14ec596cbf bump Smarty to v1.3.31 (various fixes); add custom modifier.needle.php 2017-08-22 21:15:28 +01:00
David Goodwin a40e99c8ed renamed to INSTALL.md 2017-08-22 20:48:42 +01:00
Christian Boltz 2251c00fb8 disable password reset until it is secure
For some unknown reason, the insecure version of pull request 18 (which
uses easily guessable reset codes) was merged. This commit disables the
password reset until someone makes it secure.

See the comments in https://github.com/postfixadmin/postfixadmin/pull/18
for details.
2017-08-22 14:35:40 +02:00
David Goodwin f3b2fe68f1 Merge pull request #18 from Ecodev/password-reset
#75 Enable users to reset their passwords
2017-08-21 13:50:14 +01:00
Sylvain Tissot 7a0b3b3750 Fix typo in french language file #18 2017-08-21 13:55:18 +02:00
Sylvain Tissot 9c9ba64a7f Allows a user or admin to reset his/her forgotten password with a code sent by email/SMS #18 2017-08-21 13:05:25 +02:00
David Goodwin 25f50f262d update for https://github.com/postfixadmin/postfixadmin/issues/66 2017-08-15 09:29:04 +01:00
David Goodwin 1f63a9df89 update Install.txt -> Install.md 2017-08-14 21:44:20 +01:00
David Goodwin da9f674611 better now? 2017-08-14 21:43:34 +01:00
David Goodwin 8d2223acfa better now? 2017-08-14 21:43:15 +01:00
David Goodwin 6442c8aff4 better now? 2017-08-14 21:42:32 +01:00
David Goodwin ba8a4ab659 better markup 2017-08-14 21:41:25 +01:00
David Goodwin 76f0387313 try this 2017-08-14 21:37:33 +01:00
David Goodwin 7f2ea1a20a make github friendly, perhaps 2017-08-14 21:36:46 +01:00
David Goodwin c3a4a6ed8d remove some comments from the top of vacation.pl; add links to file(s); remove unnecessary index.php 2017-08-14 21:28:49 +01:00
David Goodwin d98e83e624 Merge pull request #61 from tkempf/Email-Sender
Replace Deprecated Mail::Sender by Email::Sender
2017-08-14 21:17:03 +01:00
tkempf 066a22cb42 Added forgotten use Statement for MIME:EncWords 2017-07-24 10:55:47 +02:00
tkempf f2d4e6dbcc Subject with non ASCII-chars still needs to be encoded 2017-07-24 08:27:14 +02:00
tkempf 34474a20e5 set default value for $no_vacation_pattern 2017-07-24 08:06:10 +02:00
tkempf 4660d65679 Renamed $novacation_pattern to $no_vacation_pattern + codestyle changes 2017-07-24 08:04:28 +02:00
David Goodwin 466bd6834c Merge pull request #63 from Callidior/viewlog-page_size
Fix unquoted string array index in viewlog.php
2017-07-22 16:41:30 +01:00
Björn Barz 3786ebc33e Fixed unquoted string array index in viewlog.php
`$CONF[page_size]` was working, but throwing E_NOTICE, so I propose changing it to `$CONF['page_size']`.
2017-07-22 15:57:24 +02:00
tkempf c5dcbeb48d Removed unused libraries MIME::Encwords and MIME::Base64 2017-07-21 09:20:51 +02:00
tkempf 79f8a63a46 Bugfix in Encoding of vacation mail. UTF-8 header was missing and the
mailbody is already utf8, so no need to recode
2017-07-21 08:53:09 +02:00
tkempf cc3d5b13e8 Add Example for $novacation_pattern 2017-07-18 15:03:41 +02:00
tkempf e5e9ce7674 When using STARTTLS the SSL_verifycn_name must be set to prevent SSL
Errors
2017-07-18 13:00:41 +02:00