This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set nocompatible | |
| " load plugins if they are available | |
| let s:myvimrc = expand("~/myenv/vim_local/vimrc") | |
| let s:hasplugins = filereadable(s:myvimrc) | |
| if s:hasplugins | |
| set runtimepath=~/myenv/vim_local,$VIMRUNTIME | |
| filetype on | |
| filetype off |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Index: include/feedcreator.class.php | |
| =================================================================== | |
| --- include/feedcreator.class.php (revision 635) | |
| +++ include/feedcreator.class.php (working copy) | |
| @@ -325,6 +325,7 @@ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Index: include/feedcreator.class.php | |
| =================================================================== | |
| --- include/feedcreator.class.php (revision 635) | |
| +++ include/feedcreator.class.php (working copy) | |
| @@ -325,6 +325,7 @@ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class LDAPBackend: | |
| """ | |
| Authenticate against a user on an LDAP server. | |
| """ | |
| def authenticate(self, username, password): | |
| try: | |
| import ldap | |
| ldapo = ldap.initialize(settings.LDAP_URI) | |
| ldapo.set_option(ldap.OPT_PROTOCOL_VERSION, 3) |
NewerOlder