mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-11-01 17:31:12 +01:00
7d7844a47f
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)
11 lines
250 B
Ruby
11 lines
250 B
Ruby
# frozen_string_literal: true
|
|
|
|
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
|