class Lato::AuthenticationController

def create_session_or_start_authenticator(user)

def create_session_or_start_authenticator(user)
  if !Lato.config.authenticator_connection || Lato.config.auth_disable_authenticator || !user.authenticator_enabled?
    session_create(user.id)
    return true
  end
  session[:authenticator_user_id] = user.id
  false
end