LonelyVikingMichael / litestar-users

Authentication and user management for the Litestar framework
https://lonelyvikingmichael.github.io/litestar-users/
MIT License
47 stars 12 forks source link

Bug: Any user can verify themselves during registration #11

Closed LonelyVikingMichael closed 1 year ago

LonelyVikingMichael commented 1 year ago

The user will be verified if "is_verified": true is part of the JSON payload

A mechanism should be put in place to address this, with care when a user might be created programmatically outside of the REST API scope by an administrator who wishes to bypass verification case by case.