Commit Graph

3326 Commits

Author SHA1 Message Date
Dane Everitt be2c76c24a Add tests for password changing 2018-07-15 11:44:18 -07:00
Dane Everitt 6e9123af19 Correctly tear down tests and remove cookies 2018-07-15 11:44:08 -07:00
Dane Everitt 8bbe6bc279 Add test, fix behavior of model creation 2018-07-14 22:58:33 -07:00
Dane Everitt 550c622d3b Obliterate JWT from codebase 2018-07-14 22:48:09 -07:00
Dane Everitt 6336e5191f Strip out JWT usage and use cookies to track the currently logged in user 2018-07-14 22:42:58 -07:00
Dane Everitt a7fae86e58 Treat unauthenticated exceptions the same as everything else 2018-07-14 22:42:38 -07:00
Dane Everitt aba1b297c8 Add a test that wont work due to auth issues currently 2018-07-14 22:11:56 -07:00
Dane Everitt a44b4c4426 Fix changing email address error handling 2018-07-14 22:03:19 -07:00
Dane Everitt eafc4408eb Fix broken unit tests 2018-07-14 21:49:49 -07:00
Dane Everitt 8b9c2465f3 Correct behavior of errors on the login form 2018-07-14 21:26:08 -07:00
Dane Everitt 2ae43e1f61 Add changes for vagrant 2018-07-14 21:16:18 -07:00
Dane Everitt d17442a096 Disable automatic optimization and change v:serve for new dev environment 2018-07-14 15:07:19 -07:00
Lance Pioch 44a65b4b3c Move to its own dir 2018-07-08 11:28:26 -04:00
Lance Pioch 7ef3b76499 Consolidate commands 2018-07-08 11:19:51 -04:00
Lance Pioch 925f28b29c Update alpine version 2018-07-08 11:19:46 -04:00
Lance Pioch 0667b61abf Combine and consolidate 2018-07-08 11:19:40 -04:00
Asherslab a93a73ef4d Moved files 2018-07-08 11:19:35 -04:00
Asherslab 737bae300c Some Additions 2018-07-08 11:19:30 -04:00
Asherslab 42e3eecf80 Add docker files 2018-07-08 11:19:24 -04:00
Dane Everitt c82f273d85 Fix remaining broken tests 2018-07-04 19:38:23 -07:00
Dane Everitt 6c20ea9881 Add tests for changed controllers 2018-07-04 19:20:33 -07:00
Dane Everitt ec8e434375 Set the 2fa image to always have a consistent height, less jarring transition 2018-07-04 19:00:20 -07:00
Dane Everitt 5010c0c756 Merge branch 'feature/vuejs' into feature/vuejs-account 2018-07-04 18:12:57 -07:00
Dane Everitt 6419b1cf81 Handle password reset logic change for 2fa 2018-07-04 18:11:43 -07:00
Dane Everitt af9af78938 Merge branch 'develop' into feature/vuejs 2018-07-04 18:09:07 -07:00
Dane Everitt 81f1796a6a Merge branch 'release/v0.7.9' 2018-07-04 12:08:14 -07:00
Dane Everitt 8341cdbc88 Bump for release v0.7.9 2018-07-04 11:44:21 -07:00
Dane Everitt d9948f2876 Update changelog 2018-07-04 11:42:57 -07:00
Dane Everitt 8f5bd214a4 [Security] Address 2FA bypass in password reset functionality
Thanks to Trixter#0001 on Discord for this security report.

There was a two-factor authentication bypass present in all previous versions of Pterodactyl that would allow a user to login without providing a token by going through the password reset process. A person would still have to have access to the targeted account's email, but if they did manage to get a password reset link they would be able to reset the account password and then proceede to login without a token being required.

This logic has since been changed to check if 2FA is enabled on an account, and if so they will NOT be logged in when their password is changed. This will force them to continue through the normal login pathway where a token will be needed.

Overall the impact of this issue is minor, but I am still addressing it and disclosing the mechanism behind it.
2018-07-04 11:41:56 -07:00
Dane Everitt b342d4dc6b Change v:serve to match the new vagrant setup 2018-07-03 23:11:22 -07:00
Dane Everitt 603b8a3094 Merge branch 'feature/vuejs' into feature/vuejs-account 2018-07-02 21:01:04 -07:00
Dane Everitt 48cb01f438 Merge branch 'develop' into feature/vuejs 2018-07-02 21:00:42 -07:00
Dane Everitt 28442cead3 Merge branch 'release/v0.7.8' 2018-07-02 21:00:16 -07:00
Jan 422e5dd99f Update strings.php (#1227)
Fixed typo.
2018-07-02 15:04:16 -07:00
Dane Everitt 0a828e0f8d Bump for release v0.7.8 v0.7.8-fixed 2018-07-01 15:02:56 -07:00
Dane Everitt 8915c3ec28 Update dependencies 2018-07-01 14:50:11 -07:00
Lance Pioch b5022766df Do not keep processing the file/folder paths if the user has cancelled the operation and fix #1124 (#1177) 2018-07-01 14:42:01 -07:00
Stan 1ffb5acfad Send an email when a server is marked as installed (#1213)
Co-authored-by: @stanjg
2018-07-01 14:34:40 -07:00
Dane Everitt c42605e495 Merge branch 'develop' of https://github.com/Pterodactyl/Panel into develop 2018-07-01 13:50:56 -07:00
Dane Everitt eeb4d88cbd Disable codecov failing PRs 2018-07-01 13:50:55 -07:00
Isaac A b6d18b0a36 Add support for authentication via Unix socket (#1206)
Co-authored-by: @tenten8401
2018-07-01 13:47:00 -07:00
Dane Everitt 1df3efdfb0 Fix eggs (#1224) 2018-06-30 18:52:32 -07:00
Dane Everitt d2bc791d74 Fix links sent to users when accounts are created
closes #1093
2018-06-30 18:47:31 -07:00
Dane Everitt 304d947536 Allow creating subuser with no permissions 2018-06-30 18:25:46 -07:00
Dane Everitt 96699b192e Don't verify SSL signatures in dev
[skip ci]
2018-06-30 18:24:35 -07:00
Dane Everitt 59730dcbc9 Speed up tests, allow coverage to fail since thats a slow process 2018-06-30 18:01:23 -07:00
Dane Everitt 5a97f54013 Try concurrent build process for travis 2018-06-30 17:55:41 -07:00
Dane Everitt 974318ffb4 Logout other sessions when password is changed
closes #1222
2018-06-30 17:50:58 -07:00
Matthew Penner 1da05a2ee2 Fix typo (#1210) 2018-06-30 13:25:51 -07:00
Sergzy bad9ae58e8 Fix environment_variables name (#1212) 2018-06-30 13:25:40 -07:00