mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-30 11:02:57 -04:00 
			
		
		
		
	* Fix js dependencies * Breadcrumb implementation * Test for UniqueEmailRule Validation * reduce length of account_key to prevent key too long error * Fixes for travis - reduce user email length * Reduce all unique field lengths to 100 to prevent key overflow * Fix for Bank Model * Prevent a user from registering multiple account with one email address when using multiple databases
		
			
				
	
	
		
			43 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| namespace App\Http\Controllers\Auth;
 | |
| 
 | |
| use Illuminate\Http\Request;
 | |
| use Illuminate\Routing\Controller;
 | |
| use Illuminate\Foundation\Auth\VerifiesEmails;
 | |
| 
 | |
| class VerificationController extends Controller
 | |
| {
 | |
|     /*
 | |
|     |--------------------------------------------------------------------------
 | |
|     | Email Verification Controller
 | |
|     |--------------------------------------------------------------------------
 | |
|     |
 | |
|     | This controller is responsible for handling email verification for any
 | |
|     | user that recently registered with the application. Emails may also
 | |
|     | be resent if the user did not receive the original email message.
 | |
|     |
 | |
|     */
 | |
| 
 | |
|     use VerifiesEmails;
 | |
| 
 | |
|     /**
 | |
|      * Where to redirect users after verification.
 | |
|      *
 | |
|      * @var string
 | |
|      */
 | |
|     protected $redirectTo = '/dashboard';
 | |
| 
 | |
|     /**
 | |
|      * Create a new controller instance.
 | |
|      *
 | |
|      * @return void
 | |
|      */
 | |
|     public function __construct()
 | |
|     {
 | |
|         $this->middleware('auth');
 | |
|         $this->middleware('signed')->only('verify');
 | |
|         $this->middleware('throttle:6,1')->only('verify', 'resend');
 | |
|     }
 | |
| }
 |