Completed
Pull Request — master (#2)
by Eugene
02:20
created

SecurityController::loginAction()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
ccs 0
cts 3
cp 0
rs 10
cc 1
nc 1
nop 1
crap 2
1
<?php
2
3
namespace Azine\EmailUpdateConfirmationBundle\Controller;
4
5
use FOS\UserBundle\Controller\SecurityController as BaseSecurityController;
6
use Symfony\Component\HttpFoundation\RedirectResponse;
7
use Symfony\Component\HttpFoundation\Request;
8
9
/**
10
 * Controller managing the confirmation of updated user email.
11
 */
12
class SecurityController extends BaseSecurityController
13
{
14
    /**
15
     * If a user is logged in already, then forward to the dashboard instead of showing the login-page.
16
     * (non-PHPdoc).
17
     *
18
     * @see FOS\UserBundle\Controller.SecurityController::loginAction()
19
     */
20
    public function loginAction(Request $request)
21
    {
22
23
    }
24
}