mirror of
				https://github.com/heartcombo/devise.git
				synced 2022-11-09 12:18:31 -05:00 
			
		
		
		
	Extract Activatable from Confirmable, so if you need to active your account through other means, you can still do so and ensure cherry pick works as expected.
This commit is contained in:
		
							parent
							
								
									f26e6a269f
								
							
						
					
					
						commit
						e1c2e45f97
					
				
					 16 changed files with 143 additions and 38 deletions
				
			
		| 
						 | 
				
			
			@ -1,10 +1,14 @@
 | 
			
		|||
# Use this hook to configure devise mailer, warden hooks and so forth. The first
 | 
			
		||||
# four configuration values can also be set straight in your models.
 | 
			
		||||
Devise.setup do |config|
 | 
			
		||||
  # Configure the frameworks used by default. You should always set this value
 | 
			
		||||
  # because if Devise add a new strategy, it won't be added to your application
 | 
			
		||||
  # Configure Devise modules used by default. You should always set this value
 | 
			
		||||
  # because if Devise adds a new strategy, it won't be added to your application
 | 
			
		||||
  # by default, unless you configure it here.
 | 
			
		||||
  config.all = <%= Devise::ALL.inspect %>
 | 
			
		||||
  #
 | 
			
		||||
  # Remember that Devise includes other modules on its own (like :activatable
 | 
			
		||||
  # and :timeoutable) which are not included here and also plugins. So be sure
 | 
			
		||||
  # to check the docs for a complete set.
 | 
			
		||||
  config.all = [:authenticatable, :confirmable, :recoverable, :rememberable, :trackable, :validatable]
 | 
			
		||||
 | 
			
		||||
  # Invoke `rake secret` and use the printed value to setup a pepper to generate
 | 
			
		||||
  # the encrypted password. By default no pepper is used.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue