Update authentication method
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "hanami/middleware/body_parser"
|
||||
# require_relative "../slices/admin/config/routes"
|
||||
# require_relative "authenticated_admin_action"
|
||||
|
||||
module Adamantium
|
||||
class Routes < Hanami::Routes
|
||||
use Hanami::Middleware::BodyParser, [:form, :json]
|
||||
# use Adamantium::Middleware::ProcessParams
|
||||
|
||||
slice :micropub, at: "/micropub"
|
||||
|
||||
|
@@ -44,6 +44,7 @@ module Adamantium
|
||||
setting :from_email, default: nil
|
||||
setting :dayone_email, default: nil
|
||||
|
||||
setting :smtp_server, default: nil
|
||||
setting :smtp_password, default: nil
|
||||
setting :smtp_username, default: nil
|
||||
# Micropub endpoints
|
||||
|
Reference in New Issue
Block a user