1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00
invoiceninja/routes/web.php

39 lines
1.8 KiB
PHP
Raw Normal View History

2018-10-04 19:10:43 +02:00
<?php
2020-06-27 15:53:12 +02:00
use Illuminate\Support\Facades\Route;
//Auth::routes(['password.reset' => false]);
Route::get('/', 'BaseController@flutterRoute')->middleware('guest');
2021-04-09 07:53:12 +02:00
// Route::get('self-update', 'SelfUpdateController@update')->middleware('guest');
2021-04-09 03:22:11 +02:00
Route::get('setup', 'SetupController@index')->middleware('guest');
2020-07-02 13:58:39 +02:00
Route::post('setup', 'SetupController@doSetup')->middleware('guest');
2021-04-08 12:01:00 +02:00
Route::get('update', 'SetupController@update')->middleware('guest');
2020-07-02 13:58:39 +02:00
Route::post('setup/check_db', 'SetupController@checkDB')->middleware('guest');
Route::post('setup/check_mail', 'SetupController@checkMail')->middleware('guest');
2020-07-02 13:58:39 +02:00
Route::post('setup/check_pdf', 'SetupController@checkPdf')->middleware('guest');
2019-04-04 00:40:56 +02:00
2020-03-11 00:40:10 +01:00
Route::get('password/reset', 'Auth\ForgotPasswordController@showLinkRequestForm')->name('password.request');
Route::post('password/email', 'Auth\ForgotPasswordController@sendResetLinkEmail')->name('password.email');
2021-05-22 07:10:10 +02:00
Route::get('password/reset/{token}', 'Auth\ResetPasswordController@showResetForm')->middleware('email_db')->name('password.reset');
Route::post('password/reset', 'Auth\ResetPasswordController@reset')->middleware('email_db')->name('password.update');
/*
* Social authentication
*/
2021-05-24 11:39:21 +02:00
Route::get('auth/{provider}', 'Auth\LoginController@redirectToProvider');
// Route::get('auth/{provider}/create', 'Auth\LoginController@redirectToProviderAndCreate');
/*
* Inbound routes requiring DB Lookup
*/
2020-03-11 00:40:10 +01:00
Route::group(['middleware' => ['url_db']], function () {
Route::get('/user/confirm/{confirmation_code}', 'UserController@confirm');
Route::post('/user/confirm/{confirmation_code}', 'UserController@confirmWithPassword');
});
2021-05-10 03:03:17 +02:00
Route::get('stripe/signup/{token}', 'StripeConnectController@initialize')->name('stripe_connect.initialization');
Route::get('stripe/completed', 'StripeConnectController@completed')->name('stripe_connect.return');