summary refs log tree commit diff
path: root/src/api
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2023-01-19 09:58:49 -0500
committerPuyodead1 <puyodead@protonmail.com>2023-02-23 21:35:50 -0500
commitcc6bf066b143841d1745e972385c8c77fb7a12e4 (patch)
tree7e5b67fdc9a9fa25060cccf4e4956d1068ab9277 /src/api
parentSend different app for /verify (diff)
downloadserver-cc6bf066b143841d1745e972385c8c77fb7a12e4.tar.xz
add missing copyright headers
Diffstat (limited to 'src/api')
-rw-r--r--src/api/routes/auth/verify/index.ts18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/api/routes/auth/verify/index.ts b/src/api/routes/auth/verify/index.ts

index eae938eb..4c076d09 100644 --- a/src/api/routes/auth/verify/index.ts +++ b/src/api/routes/auth/verify/index.ts
@@ -1,3 +1,21 @@ +/* + Fosscord: A FOSS re-implementation and extension of the Discord.com backend. + Copyright (C) 2023 Fosscord and Fosscord Contributors + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. +*/ + import { route, verifyCaptcha } from "@fosscord/api"; import { Config, FieldErrors, verifyToken } from "@fosscord/util"; import { Request, Response, Router } from "express";