vaultwarden
vaultwarden copied to clipboard
Remove unecessary email normalization
Hey,
Was checking the OIDC pr change and realized that this change was still present. I forgot to include it in the recent https://github.com/dani-garcia/vaultwarden/pull/4779.
Note that for stronger guaranty that the email is correctly formatted (would apply to duo_oidc.validate_duo_login
too):
- Could change the parameter to
User
. - Could define a custom type for a formatted email and wrap it.