Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Carlos
/
passport-imap
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7634621c
authored
Nov 18, 2014
by
Jose Carlos López
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update pop3
parent
60e3b4f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
lib/passport-imap/strategy.js
lib/passport-imap/strategy.js
View file @
7634621c
...
@@ -25,7 +25,7 @@ function Strategy(options, verify) {
...
@@ -25,7 +25,7 @@ function Strategy(options, verify) {
passport
.
Strategy
.
call
(
this
);
passport
.
Strategy
.
call
(
this
);
this
.
_host
=
options
.
host
||
''
;
this
.
_host
=
options
.
host
||
''
;
this
.
_port
=
options
.
port
||
993
;
this
.
_port
=
options
.
port
||
993
;
this
.
_tls
=
options
.
tls
||
true
;
//
this._tls = options.tls || true;
this
.
_success_callback
=
options
.
success_callback
||
null
;
this
.
_success_callback
=
options
.
success_callback
||
null
;
this
.
name
=
'imap'
;
this
.
name
=
'imap'
;
}
}
...
@@ -80,4 +80,4 @@ Strategy.prototype.authenticate = function(req, options) {
...
@@ -80,4 +80,4 @@ Strategy.prototype.authenticate = function(req, options) {
/**
/**
* Expose `Strategy`.
* Expose `Strategy`.
*/
*/
module
.
exports
=
Strategy
;
module
.
exports
=
Strategy
;
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment