projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'ensure-staff-privileged-strict' into 'develop'
[akkoma]
/
lib
/
pleroma
/
web
/
mailer
/
subscription_controller.ex
diff --git
a/lib/pleroma/web/mailer/subscription_controller.ex
b/lib/pleroma/web/mailer/subscription_controller.ex
index 2334ebacba7927063c38ac750f153654ae5ac851..f89abe46a81e8af0b2793b4c0ae660ebefd8d386 100644
(file)
--- a/
lib/pleroma/web/mailer/subscription_controller.ex
+++ b/
lib/pleroma/web/mailer/subscription_controller.ex
@@
-1,7
+1,13
@@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
defmodule Pleroma.Web.Mailer.SubscriptionController do
use Pleroma.Web, :controller
defmodule Pleroma.Web.Mailer.SubscriptionController do
use Pleroma.Web, :controller
- alias Pleroma.{JWT, Repo, User}
+ alias Pleroma.JWT
+ alias Pleroma.Repo
+ alias Pleroma.User
def unsubscribe(conn, %{"token" => encoded_token}) do
with {:ok, token} <- Base.decode64(encoded_token),
def unsubscribe(conn, %{"token" => encoded_token}) do
with {:ok, token} <- Base.decode64(encoded_token),