mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-06 09:13:03 +03:00
[PR #89] [MERGED] Add confirmed check to the OrgHeaders request guard #3879
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/89
Author: @mprasil
Created: 7/16/2018
Status: ✅ Merged
Merged: 7/17/2018
Merged by: @dani-garcia
Base:
master← Head:unconfirmed_guard📝 Commits (1)
de72655Add confirmed check to the OrgHeaders request guard📊 Changes
1 file changed (+8 additions, -2 deletions)
View changed files
📝
src/auth.rs(+8 -2)📄 Description
This updates the OrgHeaders request guard to check whether user is confirmed. This should disallow all Organization actions if user isn't yet confirmed. I think this should resolve last problem in #80.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.