Update authentication method

This commit is contained in:
2023-11-18 18:20:29 +11:00
parent 9d9ffc9122
commit 3b3ad66ba3
24 changed files with 273 additions and 25 deletions

View File

@@ -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"

View File

@@ -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