Default follows for new users (#4871)
When a new user confirms their e-mail, bootstrap their home timeline by automatically following a set of accounts. By default, all local admin accounts (that are unlocked). Can be customized by new admin setting (comma-separated usernames, local and unlocked only)
This commit is contained in:
		@@ -2,4 +2,10 @@
 | 
			
		||||
 | 
			
		||||
class Auth::ConfirmationsController < Devise::ConfirmationsController
 | 
			
		||||
  layout 'auth'
 | 
			
		||||
 | 
			
		||||
  def show
 | 
			
		||||
    super do |user|
 | 
			
		||||
      BootstrapTimelineWorker.perform_async(user.account_id) if user.errors.empty?
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user