<?php

namespace App\Controller;

use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;

class SecurityController extends Controller {
	/**
	 * @Route("/login", name="login")
	 */
	public function loginAction() {
		return $this->render('security/login.html.twig');
	}

	/**
	 * @Route("/logout")
	 * @throws \RuntimeException
	 */
	public function logoutAction() {
		throw new \RuntimeException('This should never be called directly.');
	}
}