nextcloud / user_external

👥 External user authentication methods like IMAP, SMB and FTP
https://apps.nextcloud.com/apps/user_external
107 stars 64 forks source link

Fix out-of-bound array access (IMAP) #229

Closed BjoKaSH closed 3 months ago

BjoKaSH commented 1 year ago

Fixes #169

The IMAP method allows user names with or without a domain part. For user names without a domain part, it still tries to access the (then non-existing) domain, resulting in "Error: Undefined array key 1 at .../nextcloud/apps/user_external/lib/IMAP.php#85" log messages.

violoncelloCH commented 3 months ago

Thanks for the fix @BjoKaSH !