vpl
|
6d460b44b0
|
Use saved token for email 2fa codes
|
5 years ago |
vpl
|
29aedd388e
|
Add email code logic and move two_factor into separate modules
|
5 years ago |
Emil Madsen
|
ab95a69dc8
|
Rework migrations for MySQL
|
6 years ago |
Daniel García
|
7d2bc9e162
|
Added option to force 2fa at logins and made some changes to two factor code.
Added newlines to config options to keep them a reasonable length.
|
6 years ago |
Daniel García
|
8b4a6f2a64
|
Fixed some clippy lints and changed update_uuid_revision to only use one db query
|
6 years ago |
Daniel García
|
700e084101
|
Add 2FA icon to admin panel
|
6 years ago |
Daniel García
|
30e768613b
|
Start using rustfmt and some style changes to make some lines shorter
|
6 years ago |
Daniel García
|
6a99849a1e
|
Implemented proper error handling, now we can do `user.save($conn)?;` and it works.
In the future, maybe we can do the same with the `find_by_id` methods that return an Option.
|
6 years ago |
Daniel García
|
1b5134dfe2
|
Fixed delete user when 2FA is enabled, implemented delete user for admin panel, and the front-end part for invite user. Secured admin panel behind a configurable token.
|
6 years ago |
Daniel García
|
cb930a0858
|
Remove some required values during login, now uses default values
|
6 years ago |
Daniel García
|
94810c106a
|
Migrate to rust 2018 edition
|
6 years ago |
Daniel García
|
c673370103
|
Updated bw_rs to Rocket version 0.4-rc1
|
6 years ago |
Daniel García
|
dae92b9018
|
Implemented U2F, refactored Two Factor authentication, registering U2F device and authentication should work. Works on Chrome on MacOS with a virtual device.
|
6 years ago |