0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-06-21 05:18:25 +02:00
bitwarden_rs/src
BlackDex 5a05139efe
Change the handling of login errors.
Previously FlashMessage was used to provide an error message during login.
This PR changes that flow to not use redirect for this, but renders the HTML and responds using the correct status code where needed. This should solve some issues which were reported in the past.

Thanks to @RealOrangeOne, for initiating this with a PR.

Fixes #2448
Fixes #2712
Closes #2715

Co-authored-by: Jake Howard <git@theorangeone.net>
2022-09-06 17:27:20 +02:00
..
api Change the handling of login errors. 2022-09-06 17:27:20 +02:00
db Add Org user revoke feature 2022-08-20 16:42:36 +02:00
static Change the handling of login errors. 2022-09-06 17:27:20 +02:00
auth.rs Remove read_file and read_file_string and replace them with the std alternatives 2022-07-15 19:13:26 +02:00
config.rs Fix issue with CSP and icon redirects 2022-07-17 16:21:03 +02:00
crypto.rs Increase length limit for email token generation 2022-01-24 01:17:00 -08:00
error.rs Migrate old ws crate to tungstenite, which is async and also removes over 20 old dependencies 2022-06-04 19:13:39 +02:00
mail.rs Upgrade dependencies and swap lettre to async transport 2022-07-06 23:57:37 +02:00
main.rs Fix persistent folder check within containers 2022-07-20 13:29:39 +02:00
ratelimit.rs Basic ratelimit for user login (including 2FA) and admin login 2021-12-22 21:48:49 +01:00
util.rs Fix issue with CSP and icon redirects 2022-07-17 16:21:03 +02:00