2016-01-21 03:39:02 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Pterodactyl - Panel
|
2017-01-24 22:57:08 +00:00
|
|
|
* Copyright (c) 2015 - 2017 Dane Everitt <dane@daneeveritt.com>.
|
2016-01-21 03:39:02 +00:00
|
|
|
*
|
2017-09-26 02:43:01 +00:00
|
|
|
* This software is licensed under the terms of the MIT license.
|
|
|
|
* https://opensource.org/licenses/MIT
|
2016-01-21 03:39:02 +00:00
|
|
|
*/
|
2017-04-02 01:18:56 +00:00
|
|
|
Route::get('/logout', 'LoginController@logout')->name('auth.logout')->middleware('auth');
|
2017-04-02 01:01:10 +00:00
|
|
|
Route::get('/login', 'LoginController@showLoginForm')->name('auth.login');
|
|
|
|
Route::get('/login/totp', 'LoginController@totp')->name('auth.totp');
|
|
|
|
Route::get('/password', 'ForgotPasswordController@showLinkRequestForm')->name('auth.password');
|
2017-04-18 00:30:42 +00:00
|
|
|
Route::get('/password/reset/{token}', 'ResetPasswordController@showResetForm')->name('auth.reset');
|
2016-01-21 03:39:02 +00:00
|
|
|
|
2017-04-02 01:01:10 +00:00
|
|
|
Route::post('/login', 'LoginController@login')->middleware('recaptcha');
|
2017-04-02 01:18:56 +00:00
|
|
|
Route::post('/login/totp', 'LoginController@totpCheckpoint');
|
2017-04-18 00:30:42 +00:00
|
|
|
Route::post('/password', 'ForgotPasswordController@sendResetLinkEmail')->middleware('recaptcha');
|
2017-04-02 01:01:10 +00:00
|
|
|
Route::post('/password/reset', 'ResetPasswordController@reset')->name('auth.reset.post')->middleware('recaptcha');
|
|
|
|
Route::post('/password/reset/{token}', 'ForgotPasswordController@sendResetLinkEmail')->middleware('recaptcha');
|