Commit Graph

81 Commits

Author SHA1 Message Date
Pig Fang
3b1866ffba Blade -> Twig 2019-09-18 23:06:48 +08:00
Pig Fang
f9f2796529 Remove unused code 2019-09-07 11:15:23 +08:00
Pig Fang
98522a5cce
Apply fixes from StyleCI (#96)
[ci skip] [skip ci]
2019-09-07 11:00:35 +08:00
Pig Fang
1d0ae52c7b Switch to another captcha library 2019-09-05 12:23:46 +08:00
Pig Fang
3264e376cb Simplify importing Auth 2019-09-03 18:44:21 +08:00
Pig Fang
63ac1c11dd Revert 2019-08-24 10:22:26 +08:00
Pig Fang
4c51924940 Resolve User class from service container 2019-08-04 10:56:15 +08:00
Pig Fang
3f4837bb35 Refactor user model 2019-07-30 15:12:31 +08:00
Pig Fang
718c7a61a5 Fix redirecting without URL query string after logged in 2019-07-12 15:53:49 +08:00
Pig Fang
672e80991a Simplify code 2019-06-04 22:22:49 +08:00
Haowei Wen
d0609af143 Apply fixes from StyleCI 2019-05-19 05:49:44 +00:00
Pig Fang
1a98e7937d Return empty string when JWT auth failed 2019-04-26 18:58:12 +08:00
Pig Fang
1ae0329083 Rename auth guard 2019-04-25 13:29:43 +08:00
Pig Fang
d2ad6107d1 Refactor middlewares 2019-04-25 13:01:39 +08:00
Pig Fang
6d03e47526 Nomalize JSON response structure 2019-04-23 19:14:41 +08:00
Pig Fang
b70004ec0f Add JWT refreshing 2019-04-23 12:45:06 +08:00
Pig Fang
0486ddc5a1 Normalize JSON response structure 2019-04-23 11:47:45 +08:00
Pig Fang
6507f2699f Support JWT authentication 2019-04-23 10:05:58 +08:00
Pig Fang
8eb174a6dc
Apply fixes from StyleCI (#35) 2019-04-19 19:36:36 +08:00
Pig Fang
aa30d5a41e Add tests for captcha 2019-04-04 11:04:13 +08:00
Pig Fang
4897656425 Fix passing extra view info 2019-03-31 16:07:36 +08:00
Pig Fang
c01e362ae0 Fix validating captcha 2019-03-27 11:11:09 +08:00
Pig Fang
64658fd9f2 Enable reCAPTCHA on "forgot" page 2019-03-27 11:07:04 +08:00
Pig Fang
04b8f73ac4 Support invisible reCAPTCHA 2019-03-24 15:45:50 +08:00
Pig Fang
1fa155c213 Support reCAPTCHA 2019-03-24 09:58:37 +08:00
Pig Fang
f6040707e1 Generate extra data in controllers 2019-03-23 19:52:14 +08:00
Pig Fang
2267a2cadb Remove UserRepository 2019-03-23 11:06:36 +08:00
Pig Fang
ceac906771 Rename column player_name to name 2019-03-13 13:16:51 +08:00
Pig Fang
5332589b65 Use Laravel's built-in updater 2019-03-02 23:47:51 +08:00
Pig Fang
3cf19d8656
Apply fixes from StyleCI (#11)
This pull request applies code style fixes from an analysis carried out by [StyleCI](https://github.styleci.io).

---

For more information, click [here](https://github.styleci.io/analyses/8wKwbZ).
2019-03-02 22:58:37 +08:00
Pig Fang
1ff8e631fe
Remove settings of preference (#8)
Resolve #6
2019-03-02 21:13:17 +08:00
Pig Fang
e528547b89
Laravel 5.8 (#5) 2019-02-27 23:44:50 +08:00
Pig Fang
2305a80102 Remove Utils class 2018-08-17 22:54:26 +08:00
Pig Fang
4a72442fdb Add a option for requiring player name when register 2018-08-17 17:03:38 +08:00
Pig Fang
939d71923b Enhance rate limit for sending password reset email 2018-08-17 16:07:24 +08:00
Pig Fang
0ef92a5565 Update tests and composer autoload 2018-08-17 15:25:08 +08:00
Pig Fang
b5468cc143 Support email verification 2018-08-17 12:32:44 +08:00
Pig Fang
706ca1938b Update mail template of password reset 2018-08-16 18:10:09 +08:00
Pig Fang
40deffb3b9 Limit login attempts by IP address 2018-08-16 17:57:24 +08:00
Pig Fang
b3876468b2 Fix validating captcha 2018-08-12 16:00:21 +08:00
Pig Fang
e2703aad84 Use helper function report 2018-07-22 11:36:00 +08:00
Pig Fang
07e5d8b3ec Update route for captcha 2018-07-21 08:21:42 +08:00
Pig Fang
8bd60624a0 Fix validating captcha 2018-07-21 08:17:16 +08:00
Pig Fang
fdf618b2be Use Laravel's auth system and use another captcha generator 2018-07-20 14:42:43 +08:00
Pig Fang
fa1c780786 Rename method on User model 2018-07-19 10:31:44 +08:00
Pig Fang
3c24a166e8 Use signed URL to simplify resetting password 2018-07-18 11:04:34 +08:00
Pig Fang
590f62d035 use mail.driver to determine whether password reset is disabled 2018-07-15 18:18:56 +08:00
Pig Fang
5a0908517e log the exceptions thrown by email service in detail 2018-07-15 18:15:55 +08:00
Pig Fang
209d74ab7a use mailable 2018-07-15 17:42:03 +08:00
printempw
abde385776 Add more validation rules for player name 2018-06-19 11:51:34 +08:00