Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/copyright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
23 changes: 2 additions & 21 deletions example/public/js/errors.js
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
4 changes: 4 additions & 0 deletions example/tpl/login.phtml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<?php
// SPDX-FileCopyrightText: Estonian Information System Authority
// SPDX-License-Identifier: MIT
?>
<h1 class="text-center mt-5">Authenticate with Web eID</h1>
<p class="text-center mt-5"><button type="button" class="btn btn-lg btn-primary" id="webeid-auth-button">Authenticate</button></p>

Expand Down
4 changes: 4 additions & 0 deletions example/tpl/site.phtml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<?php
// SPDX-FileCopyrightText: Estonian Information System Authority
// SPDX-License-Identifier: MIT
?>
<html>
<head>
<meta id="csrftoken" name="csrftoken" content="<?php echo $token; ?>" />
Expand Down
4 changes: 4 additions & 0 deletions example/tpl/welcome.phtml
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
<?php
// SPDX-FileCopyrightText: Estonian Information System Authority
// SPDX-License-Identifier: MIT
?>
<h1 class="text-center mt-5">Hello <?php echo htmlspecialchars($auth_user);?></h1>
<p class="text-center"><a href="./logout">Logout</a></p>
Loading