gophish/models
Jordan Wright bb7de8df3e
Initial Implementation of a Password Policy (#1867)
This PR adds the initial work to implement a password policy as defined in #1538.

Specifically, this implements the following

* Rate limiting for the login handler
* Implementing the ability for system admins to require a user to reset their password
* Implementing a password policy that requires passwords to be a minimum of 8 characters
* Removes the default password (gophish) for admin users to instead have the password randomly generated when Gophish first starts up
* Adds a password strength meter when choosing a new password

Fixes #1538
2020-06-19 22:03:51 -05:00
..
attachment.go Added documentation for multiple endpoints. Fixes #54 2016-01-24 20:47:16 -06:00
campaign.go General code cleanup as part of an effort to integrate staticcheck into our CI pipeline. 2020-05-25 21:46:36 -05:00
campaign_test.go Improve the Performance of Sending Emails (#1753) 2020-02-29 20:19:54 -06:00
doc.go Major refactoring - created auth, config, models, controllers, and middleware packages. Should help provide modularity and a clean architecture. 2014-01-09 00:42:05 -06:00
email_request.go General code cleanup as part of an effort to integrate staticcheck into our CI pipeline. 2020-05-25 21:46:36 -05:00
email_request_test.go Refactor servers (#1321) 2018-12-15 15:42:32 -06:00
group.go General code cleanup as part of an effort to integrate staticcheck into our CI pipeline. 2020-05-25 21:46:36 -05:00
group_test.go Performance Improvements for Campaign and Group Creation (#1686) 2019-12-02 23:00:11 -06:00
imap.go General code cleanup as part of an effort to integrate staticcheck into our CI pipeline. 2020-05-25 21:46:36 -05:00
maillog.go General code cleanup as part of an effort to integrate staticcheck into our CI pipeline. 2020-05-25 21:46:36 -05:00
maillog_test.go Improve the Performance of Sending Emails (#1753) 2020-02-29 20:19:54 -06:00
models.go Initial Implementation of a Password Policy (#1867) 2020-06-19 22:03:51 -05:00
models_test.go Performance Improvements for Campaign and Group Creation (#1686) 2019-12-02 23:00:11 -06:00
page.go General code cleanup as part of an effort to integrate staticcheck into our CI pipeline. 2020-05-25 21:46:36 -05:00
page_test.go Support Re-enabling CapturePasswords for Landing Pages (#1271) 2018-11-11 12:34:26 -06:00
rbac.go Implement User Management API (#1473) 2019-05-31 13:58:18 -05:00
rbac_test.go Initial commit of RBAC support. (#1366) 2019-02-19 20:33:50 -06:00
result.go Improve the Performance of Sending Emails (#1753) 2020-02-29 20:19:54 -06:00
result_test.go Performance Improvements for Campaign and Group Creation (#1686) 2019-12-02 23:00:11 -06:00
smtp.go Adjusting SMTP TLS config to use just the hostname instead of the hostname+port when validating certificates. Fixes #1709 2020-01-21 07:21:56 -06:00
smtp_test.go Adjusting SMTP TLS config to use just the hostname instead of the hostname+port when validating certificates. Fixes #1709 2020-01-21 07:21:56 -06:00
template.go Fixed various minor linting issues 2018-12-15 21:38:51 -06:00
template_context.go Minor cleanup on webhook feature integration 2019-12-15 22:07:55 -06:00
template_context_test.go Add {{.BaseURL}} template tag to provide the root URL for static files. Fixes #1182 2018-09-03 20:28:32 -05:00
user.go Initial Implementation of a Password Policy (#1867) 2020-06-19 22:03:51 -05:00
user_test.go General code cleanup as part of an effort to integrate staticcheck into our CI pipeline. 2020-05-25 21:46:36 -05:00
webhook.go Add Webhook Support 2019-12-15 20:27:21 -06:00