From 3eb706116abf9c3fa9606efe0b691853af005d65 Mon Sep 17 00:00:00 2001 From: Raul Metsma Date: Sat, 19 Sep 2026 22:12:48 +0300 Subject: [PATCH] Add missing copyright headers WE2-1296 Signed-off-by: Raul Metsma --- .github/workflows/copyright.yml | 2 +- example/public/js/errors.js | 23 ++--------------------- example/tpl/login.phtml | 4 ++++ example/tpl/site.phtml | 4 ++++ example/tpl/welcome.phtml | 4 ++++ 5 files changed, 15 insertions(+), 22 deletions(-) diff --git a/.github/workflows/copyright.yml b/.github/workflows/copyright.yml index fc439ac..dd3db9f 100644 --- a/.github/workflows/copyright.yml +++ b/.github/workflows/copyright.yml @@ -8,4 +8,4 @@ permissions: jobs: copyright: name: Check copyright headers - uses: web-eid/.github/.github/workflows/copyright.yml@9ea5bd0c816309493524bce9f96024ed3cc6ff1d # main + uses: web-eid/.github/.github/workflows/copyright.yml@8b93396c49e03b9b6ef7ef44fc9b89422d95450b # main diff --git a/example/public/js/errors.js b/example/public/js/errors.js index fbddd80..a5a0df8 100644 --- a/example/public/js/errors.js +++ b/example/public/js/errors.js @@ -1,24 +1,5 @@ -/* - * Copyright (c) Estonian Information System Authority - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ +// SPDX-FileCopyrightText: Estonian Information System Authority +// SPDX-License-Identifier: MIT "use strict"; diff --git a/example/tpl/login.phtml b/example/tpl/login.phtml index 98a70c7..a58d28a 100644 --- a/example/tpl/login.phtml +++ b/example/tpl/login.phtml @@ -1,3 +1,7 @@ +

Authenticate with Web eID

diff --git a/example/tpl/site.phtml b/example/tpl/site.phtml index 707dc38..2956348 100644 --- a/example/tpl/site.phtml +++ b/example/tpl/site.phtml @@ -1,3 +1,7 @@ + diff --git a/example/tpl/welcome.phtml b/example/tpl/welcome.phtml index 6901bbe..61efa98 100644 --- a/example/tpl/welcome.phtml +++ b/example/tpl/welcome.phtml @@ -1,2 +1,6 @@ +

Hello

Logout

\ No newline at end of file