mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
auth: Allow users without a domain
Some deployments already have users that authenticate without a domain. Today, we refuse to even consider those, and reject them at parsing time. However, it is a use-case worth supporting, at least with some restrictions that make the complexity manageable. This patch changes the auth package to support authenticating users without an "@domain" part. Those requests will always be directly passed on to the fallback authenticator, if available. The dovecot fallback authenticator can already handle this case just fine.
This commit is contained in:
@@ -31,8 +31,9 @@ accordingly.
|
||||
|
||||
This lets chasquid issue authentication requests to dovecot.
|
||||
|
||||
Authentication requests sent by chasquid to dovecot will use the
|
||||
fully-qualified user form, `user@domain`.
|
||||
Authentication requests sent by chasquid to dovecot will pass on the username
|
||||
as specified by the client. This will usually be either `user@domain`, or just
|
||||
`user`.
|
||||
|
||||
|
||||
## Configuring chasquid
|
||||
|
||||
Reference in New Issue
Block a user