Content-Length: 253749 | pFad | https://github.com/sebadob/rauthy/commit/24672277e58694d9b23ce12da932ba515eb8674e

6A Merge pull request #226 from sebadob/user-email-lookup-case-insensitive · sebadob/rauthy@2467227 · GitHub
Skip to content

Commit

Permalink
Merge pull request #226 from sebadob/user-email-lookup-case-insensitive
Browse files Browse the repository at this point in the history
user lookup by email always case-insensitive
  • Loading branch information
sebadob authored Dec 28, 2023
2 parents a137e96 + 540cd24 commit 2467227
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## UNRELEASED

### Breaking

This update is not backwards-compatible with any previous version. It will modify the database under the hood
which makes it incompatible with any previous version. If you need to downgrade for whatever reason, you will
only be able to do this by applying a database backup from an older version.

TODO: Add guide how to convert ENC_KEYS with cryptr

### Encrypted SQLite backups to S3 storage

Rauthy can now push encrypted SQLite backups to a configured S3 bucket.
Expand Down
2 changes: 2 additions & 0 deletions rauthy-models/src/entity/users.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ impl User {
data: &web::Data<AppState>,
email: String,
) -> Result<User, ErrorResponse> {
let email = email.to_lowercase();

let idx = format!("{}_{}", IDX_USERS, email);
let user_opt = cache_get!(
User,
Expand Down

0 comments on commit 2467227

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/sebadob/rauthy/commit/24672277e58694d9b23ce12da932ba515eb8674e

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy