methods to resend email from identity
This commit is contained in:
parent
173e5f2b12
commit
b0c31b37c3
5 changed files with 42 additions and 3 deletions
|
|
@ -105,6 +105,15 @@ Identity.create = function(opts, cb) {
|
|||
});
|
||||
};
|
||||
|
||||
Identity.prototype.resendVerificationEmail = function (cb) {
|
||||
var self = this;
|
||||
|
||||
preconditions.checkArgument(_.isFunction(cb));
|
||||
preconditions.checkState(_.isFunction(self.storage.resendVerificationEmail));
|
||||
|
||||
self.storage.resendVerificationEmail(cb);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Open an Identity from the given storage.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue