This repository was archived by the owner on Mar 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 99 "forin" : true ,
1010 "indent" : 2 ,
1111 "latedef" : true ,
12+ "node" : true ,
1213 "noempty" : true ,
1314 "nonbsp" : true ,
1415 "strict" : true ,
Original file line number Diff line number Diff line change 5252 $changePassword : this . changePassword . bind ( this ) ,
5353 $removeUser : this . removeUser . bind ( this ) ,
5454 $resetPassword : this . resetPassword . bind ( this ) ,
55- $sendPasswordResetEmail : this . resetPassword . bind ( this )
55+ $sendPasswordResetEmail : this . sendPasswordResetEmail . bind ( this )
5656 } ;
5757
5858 return this . _object ;
269269 return deferred . promise ;
270270 } ,
271271
272+ // Sends a password reset email to an email/password user. [DEPRECATED]
273+ sendPasswordResetEmail : function ( emailOrCredentials ) {
274+ console . warn ( "$sendPasswordResetEmail() has been deprecated in favor of the equivalent $resetPassword()." ) ;
275+ return this . resetPassword ( emailOrCredentials ) ;
276+ } ,
277+
272278 // Sends a password reset email to an email/password user.
273279 resetPassword : function ( emailOrCredentials ) {
274280 var deferred = this . _q . defer ( ) ;
You can’t perform that action at this time.
0 commit comments