Commit Graph

57 Commits

Author SHA1 Message Date
Christian Weiske
cd05354aaf user_external: Check if extensions are enabled before using them
This patch checks if the relevant functionality is actually available
before using it for authentication:

1. check if function imap_open() exists before using it
2. check if smbclient executable exists during smb auth
3. check if ftp/ftps stream wrappers are registered before
   using them for auth

This fixes a crash (white page) that happens when using IMAP authentication
and the IMAP extension is not installed.
2014-01-17 21:31:39 +01:00
Bart Visscher
7c45f55f15 Whitespace cleanup 2012-10-14 21:15:47 +02:00
Thomas Mueller
ccc1960de7 adding space between) and { 2012-09-07 15:21:03 +02:00
Bart Visscher
918081f707 Remove empty lines at end of file 2012-09-07 14:25:28 +02:00
Robin Appelman
290cfadc9d ftp user backend 2012-07-19 23:03:02 +02:00
Robin Appelman
8500f30dfb smb user backend 2012-07-19 22:42:26 +02:00
Robin Appelman
dc4d907a3f imap user backend 2012-07-19 22:42:18 +02:00