Skip to content

Commit aae873e

Browse files
committedApr 1, 2016
change method name
1 parent 67f6912 commit aae873e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed
 

‎src/Illuminate/Foundation/Auth/ResetsPasswords.php

+5-3
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ public function sendResetLinkEmail(Request $request)
6262

6363
$broker = $this->getBroker();
6464

65-
$response = Password::broker($broker)->sendResetLink($request->only('email'), $this->getEmailOptionsClosure());
65+
$response = Password::broker($broker)->sendResetLink(
66+
$request->only('email'), $this->resetEmailBuilder()
67+
);
6668

6769
switch ($response) {
6870
case Password::RESET_LINK_SENT:
@@ -75,11 +77,11 @@ public function sendResetLinkEmail(Request $request)
7577
}
7678

7779
/**
78-
* Get the closure which is used to configure email options.
80+
* Get the Closure which is used to build the password reset email message.
7981
*
8082
* @return \Closure
8183
*/
82-
protected function getEmailOptionsClosure()
84+
protected function resetEmailBuilder()
8385
{
8486
return function (Message $message) {
8587
$message->subject($this->getEmailSubject());

0 commit comments

Comments
 (0)
Please sign in to comment.