mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
35 lines
1.2 KiB
PHP
35 lines
1.2 KiB
PHP
<?php
|
|
/*
|
|
* Signup Routes
|
|
*/
|
|
|
|
use Omnipay\Omnipay;
|
|
|
|
Route::get('/', 'BaseController@flutterRoute')->middleware('guest');
|
|
Route::get('setup', 'SetupController@index')->middleware('guest');
|
|
Route::post('setup/check_db', 'SetupController@checkDB')->middleware('guest');
|
|
Route::post('setup/check_mail', 'SetupController@checkMail')->middleware('guest');
|
|
Route::post('setup', 'SetupController@doSetup')->middleware('guest');
|
|
|
|
/*
|
|
* Password Reset Routes...
|
|
*/
|
|
|
|
Route::get('password/reset', 'Auth\ForgotPasswordController@showLinkRequestForm')->name('password.request');
|
|
Route::post('password/email', 'Auth\ForgotPasswordController@sendResetLinkEmail')->name('password.email');
|
|
Route::get('password/reset/{token}', 'Auth\ResetPasswordController@showResetForm')->name('password.reset');
|
|
Route::post('password/reset', 'Auth\ResetPasswordController@reset')->name('password.update');
|
|
|
|
/*
|
|
* Social authentication
|
|
*/
|
|
|
|
// Route::get('auth/{provider}', 'Auth\LoginController@redirectToProvider');
|
|
// Route::get('auth/{provider}/create', 'Auth\LoginController@redirectToProviderAndCreate');
|
|
|
|
/*
|
|
* Inbound routes requiring DB Lookup
|
|
*/
|
|
Route::group(['middleware' => ['url_db']], function () {
|
|
Route::get('/user/confirm/{confirmation_code}', 'UserController@confirm');
|
|
}); |