parent
					
						
							
								ac9fb0d654
							
						
					
				
			
			
				commit
				
					
						a529d6d93e
					
				
			
		
					 2 changed files with 3 additions and 1 deletions
				
			
		|  | @ -148,6 +148,7 @@ class Auth::RegistrationsController < Devise::RegistrationsController | |||
|     return if @rules.empty? || (session[:accept_token].present? && params[:accept] == session[:accept_token]) | ||||
| 
 | ||||
|     @accept_token = session[:accept_token] = SecureRandom.hex | ||||
|     @invite_code  = invite_code | ||||
| 
 | ||||
|     set_locale { render :rules } | ||||
|   end | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue