Visman
|
30083d0c35
|
Add to previous commit $_SERVER['REMOTE_ADDR']
|
2023-08-01 00:23:22 +07:00 |
|
Visman
|
8f2886d210
|
Added verification of a token generated outside the engine
https://forkbb.ru/post/211#p211
|
2023-07-31 23:54:16 +07:00 |
|
Visman
|
4c78b07a95
|
Change Csrf\verify() method + token rule in Validator to be able to set the token lifetime
|
2023-07-27 14:22:35 +07:00 |
|
Visman
|
ebef5d5dad
|
Add some order
|
2023-07-14 20:45:32 +07:00 |
|
Visman
|
5528d0480b
|
Up min PHP version from 7.3 to 8.0
|
2023-04-27 19:36:15 +07:00 |
|
Visman
|
bb6d788ce5
|
Use SensitiveParameter
|
2022-12-10 16:53:16 +07:00 |
|
Visman
|
e0d30948d0
|
Minor fixes
|
2021-12-19 17:19:49 +07:00 |
|
Visman
|
84c010cf2c
|
Fix Core\Csrf
|
2021-03-07 16:07:36 +07:00 |
|
Visman
|
ac32363f40
|
Update Core\Csrf
Now this class can form not only a token, but also a hash. Hash depends on the marker, arguments and lifetime.
|
2021-03-07 15:40:24 +07:00 |
|
Visman
|
9410dba830
|
Fix Core\Csrf for instant redirects
|
2021-02-20 16:36:28 +07:00 |
|
Visman
|
ab52e2b80e
|
Fix create() method in Core\Csrf
Arguments equal to null are not involved in token creation.
|
2021-02-13 12:34:25 +07:00 |
|
Visman
|
e83ef43cb6
|
Copyright
|
2020-12-21 17:40:19 +07:00 |
|
Visman
|
bd0ca920fd
|
Add strict mode 1
|
2020-10-14 20:01:43 +07:00 |
|
Visman
|
2df6800f6f
|
Change Core\Csrf
Add getError() method.
Returns the error text for verify(): 'Expired token' or 'Bad token'.
|
2020-10-10 15:30:00 +07:00 |
|
Visman
|
8dc15138eb
|
emove phpDocumentor syntax from comments
|
2020-09-12 23:22:32 +07:00 |
|
Visman
|
0799853a93
|
Coding style
|
2020-07-03 15:28:10 +07:00 |
|
Visman
|
e87a75cd6d
|
Add declaration of argument types and return values
|
2020-05-24 18:30:48 +07:00 |
|
Visman
|
1ed9421500
|
2018-03-08
|
2018-03-08 19:39:54 +07:00 |
|
Visman
|
37f80f6fb8
|
2017-11-03
|
2017-11-03 20:06:22 +07:00 |
|
Visman
|
44bee23a23
|
AdminGroups, Csrf, Validator, ...
|
2017-04-09 21:32:49 +07:00 |
|
Visman
|
6290aad378
|
Forum and ...
|
2017-03-21 23:16:15 +07:00 |
|