<?php
declare(strict_types=1);

return [
    ['GET',  '/',                'Auth\Controllers\AuthController@home',           ['auth'], null],
    ['GET',  '/login',           'Auth\Controllers\AuthController@login',          [], null],
    ['POST', '/login',           'Auth\Controllers\AuthController@authenticate',   ['csrf'], null],
    ['GET',  '/logout',          'Auth\Controllers\AuthController@logout',         [], null],
    ['GET',  '/change-password', 'Auth\Controllers\AuthController@changePassword', ['auth', 'csrf'], null],
    ['POST', '/change-password', 'Auth\Controllers\AuthController@updatePassword', ['auth', 'csrf'], null],
];