Commit 1ff357d6 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Reject dovecot auth if user is disabled

parent bdb6cbd6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -8,8 +8,8 @@ password_query = \
	  REPLACE(password, 'sha256_unsalted$', '') as password, \
	  CONCAT('/var/mail/virtual/', mailbox) AS userdb_mail \
	FROM users \
	WHERE \
	  username = '%u'
	WHERE username = '%u' \
	  AND enabled = 1

# userdb_mail needs removal with a data migration