Commit Graph

36 Commits

Author SHA1 Message Date
Bubka
efc3f5d61e Better errors handling for user controller 2020-01-13 23:10:32 +01:00
Bubka
289b36d9d0 Check user count to prevent more than one registered user 2020-01-13 22:24:14 +01:00
Bubka
11c7ff20a6 All hardcoded strings replaced by i18n translation 2020-01-12 19:55:17 +01:00
Bubka
9fa4308e24 Use the totp period from Uri instead of hard coded value 2020-01-10 23:10:59 +01:00
Bubka
ad09f233db Get OTP data from OTPHP parser 2020-01-10 22:52:47 +01:00
Bubka
35a6b0d87c Fix and complete unit tests 2020-01-10 13:43:36 +01:00
Bubka
e9ecbbe057 Handle missing 2FAccount when updating 2020-01-10 08:35:15 +01:00
Bubka
aaab76b7d3 Handle missing 2FAccount when deleting 2020-01-10 00:22:45 +01:00
Bubka
7b5ac91796 Route to 404 view when 2FAccount is missing 2020-01-10 00:07:37 +01:00
Bubka
028ddd0419 Validate 2FAccount edit form only with backend 2020-01-09 21:04:30 +01:00
Bubka
543f6b89db Better bad QR code handling in create form 2020-01-09 20:33:31 +01:00
Bubka
102d98863b Cleaning 2020-01-09 17:32:49 +01:00
Bubka
140cedccf3 Check URI validity after QR code upload 2020-01-09 17:32:27 +01:00
Bubka
93f7c4a709 Refactore generateTOTP() as a dedicated class 2020-01-09 16:41:41 +01:00
Bubka
e966b06a2f Validate 2FAccount create form only with backend 2020-01-09 16:33:32 +01:00
Bubka
77b6ac3e3f Validate User forms only with backend 2020-01-09 11:14:39 +01:00
Bubka
da6d64f9ee Refactore and fix for icon management 2020-01-08 23:22:51 +01:00
Bubka
0e79209b6d Handle empty or missing icon 2020-01-08 17:03:41 +01:00
Bubka
21c7f20e21 Delete icon backend 2020-01-08 15:24:34 +01:00
Bubka
3a0bf1a596 Remove softDelete on 2FAccounts 2020-01-07 16:46:50 +01:00
Bubka
9e7ea7d0fb refactoring de Name & Email vers Service & Account 2020-01-06 21:45:14 +01:00
Bubka
5ef450566c Icon controller 2020-01-05 23:23:48 +01:00
Bubka
dfc8a70ec8 Icon is set using upload 2020-01-05 23:21:28 +01:00
Bubka
9c25e8f4e3 QR code upload 2020-01-03 17:25:56 +01:00
Bubka
20a2d40a85 Create and Edit update with icon field 2020-01-02 00:09:19 +01:00
Bubka
e58d7ac864 TOTP period and timer based on T0 2019-07-02 00:48:48 +02:00
Bubka
8b5f5223c0 new email field in TwoFAccount entity 2019-06-10 23:42:13 +02:00
Bubka
bf029bc741 API User details and logout 2019-05-29 11:04:12 +02:00
Bubka
24588e5d26 Basic vue frontend with auth 2019-05-28 17:29:15 +02:00
Bubka
e7695b64bc secret property now named uri to match otphp wording 2019-05-26 23:24:22 +02:00
Bubka
bb4fbfd46e Better exception json response 2019-05-26 16:44:46 +02:00
Bubka
6a76a493a2 TOTP integration 2019-05-26 16:42:09 +02:00
Bubka
482c01ca2c Better API responses without envelope 2019-05-25 23:51:20 +02:00
Bubka
6cdaa12e21 Account refactored and better json responses 2019-05-24 14:44:41 +02:00
Bubka
85fc616899 Fix Account controller & test 2019-05-22 00:49:27 +02:00
Bubka
c9150c47fd initial commit 2019-05-20 07:37:41 +02:00