mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 23:17:32 -05:00 
			
		
		
		
	Merge pull request #5093 from turbo124/v5-develop
Only one confirmation per user signup
This commit is contained in:
		
						commit
						e73e9e2caa
					
				@ -102,13 +102,13 @@ class CreateAccount
 | 
				
			|||||||
        // $nmo->to_user = $spaa9f78;
 | 
					        // $nmo->to_user = $spaa9f78;
 | 
				
			||||||
        // $nmo->settings = $sp035a66->settings;
 | 
					        // $nmo->settings = $sp035a66->settings;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $nmo = new NinjaMailerObject;
 | 
					        // $nmo = new NinjaMailerObject;
 | 
				
			||||||
        $nmo->mailable = new NinjaMailer((new VerifyUserObject($spaa9f78, $sp035a66))->build());
 | 
					        // $nmo->mailable = new NinjaMailer((new VerifyUserObject($spaa9f78, $sp035a66))->build());
 | 
				
			||||||
        $nmo->company = $sp035a66;
 | 
					        // $nmo->company = $sp035a66;
 | 
				
			||||||
        $nmo->to_user = $spaa9f78;
 | 
					        // $nmo->to_user = $spaa9f78;
 | 
				
			||||||
        $nmo->settings = $sp035a66->settings;
 | 
					        // $nmo->settings = $sp035a66->settings;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        NinjaMailerJob::dispatch($nmo);
 | 
					        // NinjaMailerJob::dispatch($nmo);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // NinjaMailerJob::dispatchNow($nmo);
 | 
					        // NinjaMailerJob::dispatchNow($nmo);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -46,6 +46,7 @@ class SendVerificationNotification implements ShouldQueue
 | 
				
			|||||||
     */
 | 
					     */
 | 
				
			||||||
    public function handle($event)
 | 
					    public function handle($event)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					        nlog("In Send Verification Notification");
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        MultiDB::setDB($event->company->db);
 | 
					        MultiDB::setDB($event->company->db);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user