gophish/controllers/api
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
..
api_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
campaign.go Refactoring API into separate package for easier management. (#1411) 2019-03-26 22:17:20 -05: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
imap.go Added IMAP support for checking reported emails (#1612) 2020-01-18 11:58:34 -06:00
import.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.go Refactoring API into separate package for easier management. (#1411) 2019-03-26 22:17:20 -05:00
reset.go Initial Implementation of a Password Policy (#1867) 2020-06-19 22:03:51 -05:00
response.go Refactoring API into separate package for easier management. (#1411) 2019-03-26 22:17:20 -05:00
server.go Initial Implementation of a Password Policy (#1867) 2020-06-19 22:03:51 -05:00
smtp.go Refactoring API into separate package for easier management. (#1411) 2019-03-26 22:17:20 -05:00
template.go Refactoring API into separate package for easier management. (#1411) 2019-03-26 22:17:20 -05:00
user.go Initial Implementation of a Password Policy (#1867) 2020-06-19 22:03:51 -05:00
user_test.go Initial Implementation of a Password Policy (#1867) 2020-06-19 22:03:51 -05:00
util.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 General code cleanup as part of an effort to integrate staticcheck into our CI pipeline. 2020-05-25 21:46:36 -05:00