Commit Graph

93 Commits

Author SHA1 Message Date
Bubka
a70606d57d Set TwoFAccount controller to return an ordered collection 2020-03-25 22:05:11 +01:00
Bubka
2295613263 Set TwoFAccount model to be sortable 2020-03-25 21:58:05 +01:00
Bubka
358ce983b8 Use config() helper in place of env() to prevent null value when config:cache is used 2020-03-24 13:24:33 +01:00
Bubka
05f1813a25 Test 2fauth console command 2020-03-21 23:08:00 +01:00
Bubka
297948e0f2 Clean forgotten code in previous commit #ecd92c1 2020-03-21 12:57:17 +01:00
Bubka
ecd92c0b0b Reset demo in a lighter way 2020-03-20 23:15:36 +01:00
Bubka
e2b9b5b685 Add --no-confirm option to Artisan reset-demo command 2020-03-20 21:46:06 +01:00
Bubka
743e644fd6 Add Artisan command and seeder to reset a demo App 2020-03-19 22:25:04 +01:00
Bubka
f12557c4aa Prevent account and password change while in demo mode 2020-03-18 22:59:45 +01:00
Bubka
76ebf847df Set Options with fallback values and better boolean handling 2020-03-13 22:10:36 +01:00
Bubka
80d9433774 Refactore Profile to Settings & Setting to Options 2020-03-09 20:24:25 +01:00
Bubka
98c02a48dc Enhance test code coverage 2020-03-08 20:16:56 +01:00
Bubka
8927a4c7c0 Restore native ResetPassword notification and test it 2020-03-06 15:07:09 +01:00
Bubka
20970606a3 Fix and test Redirection when already authenticated 2020-03-05 17:14:57 +01:00
Bubka
48e3d22446 Cleaning 2020-03-05 16:41:55 +01:00
Bubka
53ada0bfaa Try to fix TravisCI failing on route test 2020-03-05 12:56:35 +01:00
Bubka
6a694280cd Move appSettings generation from blade template to controller 2020-03-05 12:30:35 +01:00
Bubka
ecc7447980 Refactore Register controller 2020-03-04 21:49:45 +01:00
Bubka
b07d599fb8 Fix logout test 2020-03-04 17:19:42 +01:00
Bubka
9f3a770f21 Refactore login controller and add login attempts throttling 2020-03-04 12:59:55 +01:00
Bubka
fe5f4c8b88 Fix error handler not displaying exception message in debug env 2020-03-04 12:37:36 +01:00
Bubka
7090cd8b33 Refactore Profile controllers and routes 2020-03-03 22:09:06 +01:00
Bubka
b30219f407 Handle Language setting from Laravel side 2020-02-27 12:18:46 +01:00
Bubka
be4e678080 Handle correctly counter update in case of HOTP preview 2020-02-06 16:06:02 +01:00
Bubka
af9e6e13da Replace TOTP with OTP in locales for more generic error messages 2020-02-05 17:17:25 +01:00
Bubka
d097810508 New creation process for a better UX 2020-02-04 17:06:11 +01:00
Bubka
92d8c36a6d Remove useless check in controller 2020-02-02 20:57:21 +01:00
Bubka
7eac209724 Rework the Delete feature to support batch-delete 2020-01-31 23:05:06 +01:00
Bubka
eb28b59d76 Try to fix 403 on web hosting when deleting icon 2020-01-29 22:24:28 +01:00
Bubka
3dfdcb84bd Update username after Profile update 2020-01-27 22:04:47 +01:00
Bubka
baa9658e46 Fix unit tests 2020-01-27 21:44:29 +01:00
Bubka
1433e7b550 Remove debug infos from 40* error response 2020-01-27 21:43:34 +01:00
Bubka
e0207b096d Complete api errors standardization 2020-01-27 21:13:21 +01:00
Bubka
1fcfc48ec0 Attempt to standardize api errors 2020-01-27 16:53:26 +01:00
Bubka
59fe66710a Delete possible orphan icon when updating a twofaccount 2020-01-27 13:56:19 +01:00
Bubka
f2dbf3f1e2 Blank icon property if icon file is missing during store/update 2020-01-27 13:52:47 +01:00
Bubka
c948bc5f24 Remove unnecessary check 2020-01-27 13:35:47 +01:00
Bubka
c6b7c4e495 Remove unnecessary try|catch 2020-01-26 21:49:39 +01:00
Bubka
0fd9869230 Fix method called on non existing $this 2020-01-26 21:02:36 +01:00
Bubka
7f5cac0c91 Fix Laravel error handler 2020-01-26 16:04:26 +01:00
Bubka
6726d85eb0 Add logic to force HOTP counter 2020-01-25 18:44:24 +01:00
Bubka
2233f1119b Refactoring 2020-01-25 18:22:45 +01:00
Bubka
ffaef86909 Check OTP validity before creation 2020-01-25 00:01:30 +01:00
Bubka
24e643ff87 Full support of HOTP 2020-01-24 22:37:48 +01:00
Bubka
a4a780b14f Add HOTP counter field to Edit form 2020-01-24 12:56:38 +01:00
Bubka
4e38e0bbfb Add Password and Profile update 2020-01-23 23:02:54 +01:00
Bubka
7ded76c92e Update User controller 2020-01-23 19:31:54 +01:00
Bubka
c044dcd6c6 Add (inactive) encryption on 2FAccount controller 2020-01-23 19:31:54 +01:00
Bubka
2be4e3e4e1 Use and handle default Laravel validation errors response 2020-01-19 23:02:20 +01:00
Bubka
aef68df370 Complete and fix Request/Reset password feature 2020-01-15 11:48:22 +01:00