Method: Solidus::InstallGenerator#select_auth_plugin

Defined in:
lib/generators/solidus/install/install_generator.rb

#select_auth_pluginObject



129
130
131
132
133
134
135
136
137
138
139
# File 'lib/generators/solidus/install/install_generator.rb', line 129

def select_auth_plugin
  @with_authentication = options[:with_authentication]
  @with_authentication.nil? and @with_authentication = (options[:auto_accept] || !no?("
    Solidus has a default authentication extension that uses Devise.
    You can find more info at https://github.com/solidusio/solidus_auth_devise.

    Regardless of what you answer here, it'll be installed if you choose
    solidus_starter_frontend as your storefront in a later step.

    Would you like to install it? (Y/n)"))
end