mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-12 01:45:56 -05:00
[PR #2806] [MERGED] return more descriptive JWT validation messages #3019
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/2806
Author: @stefan0xC
Created: 10/9/2022
Status: ✅ Merged
Merged: 10/9/2022
Merged by: @dani-garcia
Base:
main← Head:return-token-expired-message📝 Commits (1)
475c7b8return more descriptive JWT validation messages📊 Changes
1 file changed (+11 additions, -7 deletions)
View changed files
📝
src/auth.rs(+11 -7)📄 Description
This should fix #2792 by returning a bit more descriptive error messages when validating tokens, e.g. when a JWT has expired.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.