Skip to content

Commit 1b13cfd

Browse files
committed
Merge pull request #1949 from XWB/verb
Use verb rather than noun
2 parents 3b63b2e + ff1932d commit 1b13cfd

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

EventListener/AuthenticationListener.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function authenticate(FilterUserResponseEvent $event, $eventName = null,
5151
}
5252

5353
try {
54-
$this->loginManager->loginUser($this->firewallName, $event->getUser(), $event->getResponse());
54+
$this->loginManager->logInUser($this->firewallName, $event->getUser(), $event->getResponse());
5555

5656
$eventDispatcher->dispatch(FOSUserEvents::SECURITY_IMPLICIT_LOGIN, new UserEvent($event->getUser(), $event->getRequest()));
5757
} catch (AccountStatusException $ex) {

Resources/doc/command_line_tools.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ An example is provided below:
5151
$ php app/console fos:user:create adminuser --super-admin
5252
5353
If you specify the ``--inactive`` option, then the user that you create will no be
54-
able to login until he is activated.
54+
able to log in until he is activated.
5555

5656
.. code-block:: bash
5757

Resources/doc/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ You now can run the following command to create the model:
440440
To create SQL, run the command ``propel:build --insert-sql`` or use migration
441441
commands if you have an existing schema in your database.
442442

443-
You now can login at ``http://app.com/app_dev.php/login``!
443+
You now can log in at ``http://app.com/app_dev.php/login``!
444444

445445
Next Steps
446446
~~~~~~~~~~

Resources/translations/FOSUserBundle.en.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ security:
1717
username: Username
1818
password: Password
1919
remember_me: Remember me
20-
submit: Login
20+
submit: Log in
2121

2222
# Profile
2323
profile:
@@ -77,8 +77,8 @@ resetting:
7777
7878
# Global strings
7979
layout:
80-
logout: Logout
81-
login: Login
80+
logout: Log out
81+
login: Log in
8282
register: Register
8383
logged_in_as: Logged in as %username%
8484

Security/LoginManager.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function __construct($tokenStorage, UserCheckerInterface $userChecker,
5050
$this->container = $container;
5151
}
5252

53-
final public function loginUser($firewallName, UserInterface $user, Response $response = null)
53+
final public function logInUser($firewallName, UserInterface $user, Response $response = null)
5454
{
5555
$this->userChecker->checkPostAuth($user);
5656

Security/LoginManagerInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ interface LoginManagerInterface
2323
*
2424
* @return void
2525
*/
26-
public function loginUser($firewallName, UserInterface $user, Response $response = null);
26+
public function logInUser($firewallName, UserInterface $user, Response $response = null);
2727
}

0 commit comments

Comments
 (0)