Files
Oxicloud/src/common/mod.rs
T
Edouard Vanbelle a95a6b106c feat(username): normalize username into lowercase
- normalize username into lowercase (this is already ASCII only)
- permit users to login with their username with insensitive case
- if a disabled account is reactivated and got a collision, it will normalize it too
- server will stop on collision (ex: 2 entries with `Alice` and `alice`)
  in a such case admin can run:

```
oxicloud migrate lowercase-usernames --dry-run
```
then
```
oxicloud migrate lowercase-usernames
```
2026-09-13 19:53:09 +02:00

12 lines
196 B
Rust

pub mod config;
pub mod di;
pub mod errors;
pub mod fmt;
pub mod locale;
pub mod migration_progress;
pub mod mime_detect;
pub mod runtime;
pub mod stubs;
pub mod text;
pub mod username_migration;