Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • perun/perun-proxyidp/v1/simplesamlphp-module-lsaai
1 result
Show changes
Commits on Source (14)
# [4.2.0](https://gitlab.ics.muni.cz/perun-proxy-aai/simplesamlphp/simplesamlphp-module-lsaai/compare/v4.1.0...v4.2.0) (2023-09-13)
### Features
* 🎸 Forgotten username flow ([36ef4ec](https://gitlab.ics.muni.cz/perun-proxy-aai/simplesamlphp/simplesamlphp-module-lsaai/commit/36ef4ec06b5108961f5ba0db8483c0a68c8aaa30))
# [4.1.0](https://gitlab.ics.muni.cz/perun-proxy-aai/simplesamlphp/simplesamlphp-module-lsaai/compare/v4.0.0...v4.1.0) (2023-07-19)
......
......@@ -207,16 +207,16 @@
},
{
"name": "gettext/gettext",
"version": "v4.8.8",
"version": "v4.8.11",
"source": {
"type": "git",
"url": "https://github.com/php-gettext/Gettext.git",
"reference": "302a00aa9d6762c92c884d879c15d3ed05d6a37d"
"reference": "b632aaf5e4579d0b2ae8bc61785e238bff4c5156"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-gettext/Gettext/zipball/302a00aa9d6762c92c884d879c15d3ed05d6a37d",
"reference": "302a00aa9d6762c92c884d879c15d3ed05d6a37d",
"url": "https://api.github.com/repos/php-gettext/Gettext/zipball/b632aaf5e4579d0b2ae8bc61785e238bff4c5156",
"reference": "b632aaf5e4579d0b2ae8bc61785e238bff4c5156",
"shasum": ""
},
"require": {
......@@ -268,7 +268,7 @@
"support": {
"email": "oom@oscarotero.com",
"issues": "https://github.com/oscarotero/Gettext/issues",
"source": "https://github.com/php-gettext/Gettext/tree/v4.8.8"
"source": "https://github.com/php-gettext/Gettext/tree/v4.8.11"
},
"funding": [
{
......@@ -284,7 +284,7 @@
"type": "patreon"
}
],
"time": "2022-12-08T11:59:50+00:00"
"time": "2023-08-14T15:15:05+00:00"
},
{
"name": "gettext/languages",
......@@ -555,16 +555,16 @@
},
{
"name": "phpmailer/phpmailer",
"version": "v6.8.0",
"version": "v6.8.1",
"source": {
"type": "git",
"url": "https://github.com/PHPMailer/PHPMailer.git",
"reference": "df16b615e371d81fb79e506277faea67a1be18f1"
"reference": "e88da8d679acc3824ff231fdc553565b802ac016"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/df16b615e371d81fb79e506277faea67a1be18f1",
"reference": "df16b615e371d81fb79e506277faea67a1be18f1",
"url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/e88da8d679acc3824ff231fdc553565b802ac016",
"reference": "e88da8d679acc3824ff231fdc553565b802ac016",
"shasum": ""
},
"require": {
......@@ -574,13 +574,13 @@
"php": ">=5.5.0"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.2",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"doctrine/annotations": "^1.2.6 || ^1.13.3",
"php-parallel-lint/php-console-highlighter": "^1.0.0",
"php-parallel-lint/php-parallel-lint": "^1.3.2",
"phpcompatibility/php-compatibility": "^9.3.5",
"roave/security-advisories": "dev-latest",
"squizlabs/php_codesniffer": "^3.7.1",
"squizlabs/php_codesniffer": "^3.7.2",
"yoast/phpunit-polyfills": "^1.0.4"
},
"suggest": {
......@@ -623,7 +623,7 @@
"description": "PHPMailer is a full-featured email creation and transfer class for PHP",
"support": {
"issues": "https://github.com/PHPMailer/PHPMailer/issues",
"source": "https://github.com/PHPMailer/PHPMailer/tree/v6.8.0"
"source": "https://github.com/PHPMailer/PHPMailer/tree/v6.8.1"
},
"funding": [
{
......@@ -631,7 +631,7 @@
"type": "github"
}
],
"time": "2023-03-06T14:43:22+00:00"
"time": "2023-08-29T08:26:30+00:00"
},
{
"name": "phpseclib/phpseclib",
......@@ -2729,6 +2729,7 @@
"issues": "https://github.com/tvdijen/simplesamlphp-module-sanitycheck/issues",
"source": "https://github.com/tvdijen/simplesamlphp-module-sanitycheck"
},
"abandoned": true,
"time": "2020-05-07T11:34:29+00:00"
},
{
......@@ -3005,16 +3006,16 @@
},
{
"name": "symfony/cache",
"version": "v5.4.25",
"version": "v5.4.28",
"source": {
"type": "git",
"url": "https://github.com/symfony/cache.git",
"reference": "e2013521c0f07473ae69a01fce0af78fc3ec0f23"
"reference": "62b7ae3bccc5b474a30fadc7ef6bbc362007d3f9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/cache/zipball/e2013521c0f07473ae69a01fce0af78fc3ec0f23",
"reference": "e2013521c0f07473ae69a01fce0af78fc3ec0f23",
"url": "https://api.github.com/repos/symfony/cache/zipball/62b7ae3bccc5b474a30fadc7ef6bbc362007d3f9",
"reference": "62b7ae3bccc5b474a30fadc7ef6bbc362007d3f9",
"shasum": ""
},
"require": {
......@@ -3082,7 +3083,7 @@
"psr6"
],
"support": {
"source": "https://github.com/symfony/cache/tree/v5.4.25"
"source": "https://github.com/symfony/cache/tree/v5.4.28"
},
"funding": [
{
......@@ -3098,7 +3099,7 @@
"type": "tidelift"
}
],
"time": "2023-06-22T08:06:06+00:00"
"time": "2023-08-05T08:32:42+00:00"
},
{
"name": "symfony/cache-contracts",
......@@ -3181,16 +3182,16 @@
},
{
"name": "symfony/config",
"version": "v5.4.21",
"version": "v5.4.26",
"source": {
"type": "git",
"url": "https://github.com/symfony/config.git",
"reference": "2a6b1111d038adfa15d52c0871e540f3b352d1e4"
"reference": "8109892f27beed9252bd1f1c1880aeb4ad842650"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/config/zipball/2a6b1111d038adfa15d52c0871e540f3b352d1e4",
"reference": "2a6b1111d038adfa15d52c0871e540f3b352d1e4",
"url": "https://api.github.com/repos/symfony/config/zipball/8109892f27beed9252bd1f1c1880aeb4ad842650",
"reference": "8109892f27beed9252bd1f1c1880aeb4ad842650",
"shasum": ""
},
"require": {
......@@ -3240,7 +3241,7 @@
"description": "Helps you find, load, combine, autofill and validate configuration values of any kind",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/config/tree/v5.4.21"
"source": "https://github.com/symfony/config/tree/v5.4.26"
},
"funding": [
{
......@@ -3256,20 +3257,20 @@
"type": "tidelift"
}
],
"time": "2023-02-14T08:03:56+00:00"
"time": "2023-07-19T20:21:11+00:00"
},
{
"name": "symfony/console",
"version": "v5.4.24",
"version": "v5.4.28",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "560fc3ed7a43e6d30ea94a07d77f9a60b8ed0fb8"
"reference": "f4f71842f24c2023b91237c72a365306f3c58827"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/560fc3ed7a43e6d30ea94a07d77f9a60b8ed0fb8",
"reference": "560fc3ed7a43e6d30ea94a07d77f9a60b8ed0fb8",
"url": "https://api.github.com/repos/symfony/console/zipball/f4f71842f24c2023b91237c72a365306f3c58827",
"reference": "f4f71842f24c2023b91237c72a365306f3c58827",
"shasum": ""
},
"require": {
......@@ -3339,7 +3340,7 @@
"terminal"
],
"support": {
"source": "https://github.com/symfony/console/tree/v5.4.24"
"source": "https://github.com/symfony/console/tree/v5.4.28"
},
"funding": [
{
......@@ -3355,20 +3356,20 @@
"type": "tidelift"
}
],
"time": "2023-05-26T05:13:16+00:00"
"time": "2023-08-07T06:12:30+00:00"
},
{
"name": "symfony/dependency-injection",
"version": "v5.4.25",
"version": "v5.4.28",
"source": {
"type": "git",
"url": "https://github.com/symfony/dependency-injection.git",
"reference": "f0410c30a6c86bbce6c719c2b5cfc343362b982e"
"reference": "addc22fed594f9ce04e73ef6a9d3e2416f77192d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/dependency-injection/zipball/f0410c30a6c86bbce6c719c2b5cfc343362b982e",
"reference": "f0410c30a6c86bbce6c719c2b5cfc343362b982e",
"url": "https://api.github.com/repos/symfony/dependency-injection/zipball/addc22fed594f9ce04e73ef6a9d3e2416f77192d",
"reference": "addc22fed594f9ce04e73ef6a9d3e2416f77192d",
"shasum": ""
},
"require": {
......@@ -3428,7 +3429,7 @@
"description": "Allows you to standardize and centralize the way objects are constructed in your application",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/dependency-injection/tree/v5.4.25"
"source": "https://github.com/symfony/dependency-injection/tree/v5.4.28"
},
"funding": [
{
......@@ -3444,7 +3445,7 @@
"type": "tidelift"
}
],
"time": "2023-06-24T09:45:28+00:00"
"time": "2023-08-14T10:47:38+00:00"
},
{
"name": "symfony/deprecation-contracts",
......@@ -3515,16 +3516,16 @@
},
{
"name": "symfony/error-handler",
"version": "v5.4.24",
"version": "v5.4.26",
"source": {
"type": "git",
"url": "https://github.com/symfony/error-handler.git",
"reference": "c1b9be3b8a6f60f720bec28c4ffb6fb5b00a8946"
"reference": "b26719213a39c9ba57520cbc5e52bfcc5e8d92f9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/error-handler/zipball/c1b9be3b8a6f60f720bec28c4ffb6fb5b00a8946",
"reference": "c1b9be3b8a6f60f720bec28c4ffb6fb5b00a8946",
"url": "https://api.github.com/repos/symfony/error-handler/zipball/b26719213a39c9ba57520cbc5e52bfcc5e8d92f9",
"reference": "b26719213a39c9ba57520cbc5e52bfcc5e8d92f9",
"shasum": ""
},
"require": {
......@@ -3566,7 +3567,7 @@
"description": "Provides tools to manage errors and ease debugging PHP code",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/error-handler/tree/v5.4.24"
"source": "https://github.com/symfony/error-handler/tree/v5.4.26"
},
"funding": [
{
......@@ -3582,20 +3583,20 @@
"type": "tidelift"
}
],
"time": "2023-05-02T16:13:31+00:00"
"time": "2023-07-16T16:48:57+00:00"
},
{
"name": "symfony/event-dispatcher",
"version": "v5.4.22",
"version": "v5.4.26",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
"reference": "1df20e45d56da29a4b1d8259dd6e950acbf1b13f"
"reference": "5dcc00e03413f05c1e7900090927bb7247cb0aac"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/1df20e45d56da29a4b1d8259dd6e950acbf1b13f",
"reference": "1df20e45d56da29a4b1d8259dd6e950acbf1b13f",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/5dcc00e03413f05c1e7900090927bb7247cb0aac",
"reference": "5dcc00e03413f05c1e7900090927bb7247cb0aac",
"shasum": ""
},
"require": {
......@@ -3651,7 +3652,7 @@
"description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/event-dispatcher/tree/v5.4.22"
"source": "https://github.com/symfony/event-dispatcher/tree/v5.4.26"
},
"funding": [
{
......@@ -3667,7 +3668,7 @@
"type": "tidelift"
}
],
"time": "2023-03-17T11:31:58+00:00"
"time": "2023-07-06T06:34:20+00:00"
},
{
"name": "symfony/event-dispatcher-contracts",
......@@ -3814,16 +3815,16 @@
},
{
"name": "symfony/finder",
"version": "v5.4.21",
"version": "v5.4.27",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
"reference": "078e9a5e1871fcfe6a5ce421b539344c21afef19"
"reference": "ff4bce3c33451e7ec778070e45bd23f74214cd5d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/078e9a5e1871fcfe6a5ce421b539344c21afef19",
"reference": "078e9a5e1871fcfe6a5ce421b539344c21afef19",
"url": "https://api.github.com/repos/symfony/finder/zipball/ff4bce3c33451e7ec778070e45bd23f74214cd5d",
"reference": "ff4bce3c33451e7ec778070e45bd23f74214cd5d",
"shasum": ""
},
"require": {
......@@ -3857,7 +3858,7 @@
"description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/finder/tree/v5.4.21"
"source": "https://github.com/symfony/finder/tree/v5.4.27"
},
"funding": [
{
......@@ -3873,20 +3874,20 @@
"type": "tidelift"
}
],
"time": "2023-02-16T09:33:00+00:00"
"time": "2023-07-31T08:02:31+00:00"
},
{
"name": "symfony/framework-bundle",
"version": "v5.4.25",
"version": "v5.4.28",
"source": {
"type": "git",
"url": "https://github.com/symfony/framework-bundle.git",
"reference": "c9d65bdab4a26e110ec4c87b3aa5de108c0f860d"
"reference": "b84ebb25405c7334976b5791bfbbe0e50f4e472c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/framework-bundle/zipball/c9d65bdab4a26e110ec4c87b3aa5de108c0f860d",
"reference": "c9d65bdab4a26e110ec4c87b3aa5de108c0f860d",
"url": "https://api.github.com/repos/symfony/framework-bundle/zipball/b84ebb25405c7334976b5791bfbbe0e50f4e472c",
"reference": "b84ebb25405c7334976b5791bfbbe0e50f4e472c",
"shasum": ""
},
"require": {
......@@ -4007,7 +4008,7 @@
"description": "Provides a tight integration between Symfony components and the Symfony full-stack framework",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/framework-bundle/tree/v5.4.25"
"source": "https://github.com/symfony/framework-bundle/tree/v5.4.28"
},
"funding": [
{
......@@ -4023,20 +4024,20 @@
"type": "tidelift"
}
],
"time": "2023-06-15T07:35:04+00:00"
"time": "2023-08-08T11:21:07+00:00"
},
{
"name": "symfony/http-foundation",
"version": "v5.4.25",
"version": "v5.4.28",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
"reference": "f66be2706075c5f6325d2fe2b743a57fb5d23f6b"
"reference": "365992c83a836dfe635f1e903ccca43ee03d3dd2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/f66be2706075c5f6325d2fe2b743a57fb5d23f6b",
"reference": "f66be2706075c5f6325d2fe2b743a57fb5d23f6b",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/365992c83a836dfe635f1e903ccca43ee03d3dd2",
"reference": "365992c83a836dfe635f1e903ccca43ee03d3dd2",
"shasum": ""
},
"require": {
......@@ -4083,7 +4084,7 @@
"description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-foundation/tree/v5.4.25"
"source": "https://github.com/symfony/http-foundation/tree/v5.4.28"
},
"funding": [
{
......@@ -4099,20 +4100,20 @@
"type": "tidelift"
}
],
"time": "2023-06-22T08:06:06+00:00"
"time": "2023-08-21T07:23:18+00:00"
},
{
"name": "symfony/http-kernel",
"version": "v5.4.25",
"version": "v5.4.28",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
"reference": "f6c92fe64bbdad7616cb90663c24f6350f3ca464"
"reference": "127a2322ca1828157901092518b8ea8e4e1109d4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/f6c92fe64bbdad7616cb90663c24f6350f3ca464",
"reference": "f6c92fe64bbdad7616cb90663c24f6350f3ca464",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/127a2322ca1828157901092518b8ea8e4e1109d4",
"reference": "127a2322ca1828157901092518b8ea8e4e1109d4",
"shasum": ""
},
"require": {
......@@ -4195,7 +4196,7 @@
"description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-kernel/tree/v5.4.25"
"source": "https://github.com/symfony/http-kernel/tree/v5.4.28"
},
"funding": [
{
......@@ -4211,20 +4212,20 @@
"type": "tidelift"
}
],
"time": "2023-06-26T05:58:08+00:00"
"time": "2023-08-26T13:47:51+00:00"
},
{
"name": "symfony/polyfill-ctype",
"version": "v1.27.0",
"version": "v1.28.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git",
"reference": "5bbc823adecdae860bb64756d639ecfec17b050a"
"reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a",
"reference": "5bbc823adecdae860bb64756d639ecfec17b050a",
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb",
"reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb",
"shasum": ""
},
"require": {
......@@ -4239,7 +4240,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "1.27-dev"
"dev-main": "1.28-dev"
},
"thanks": {
"name": "symfony/polyfill",
......@@ -4277,7 +4278,7 @@
"portable"
],
"support": {
"source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0"
"source": "https://github.com/symfony/polyfill-ctype/tree/v1.28.0"
},
"funding": [
{
......@@ -4293,20 +4294,20 @@
"type": "tidelift"
}
],
"time": "2022-11-03T14:55:06+00:00"
"time": "2023-01-26T09:26:14+00:00"
},
{
"name": "symfony/polyfill-intl-grapheme",
"version": "v1.27.0",
"version": "v1.28.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-grapheme.git",
"reference": "511a08c03c1960e08a883f4cffcacd219b758354"
"reference": "875e90aeea2777b6f135677f618529449334a612"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/511a08c03c1960e08a883f4cffcacd219b758354",
"reference": "511a08c03c1960e08a883f4cffcacd219b758354",
"url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/875e90aeea2777b6f135677f618529449334a612",
"reference": "875e90aeea2777b6f135677f618529449334a612",
"shasum": ""
},
"require": {
......@@ -4318,7 +4319,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "1.27-dev"
"dev-main": "1.28-dev"
},
"thanks": {
"name": "symfony/polyfill",
......@@ -4358,7 +4359,7 @@
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.27.0"
"source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.28.0"
},
"funding": [
{
......@@ -4374,20 +4375,20 @@
"type": "tidelift"
}
],
"time": "2022-11-03T14:55:06+00:00"
"time": "2023-01-26T09:26:14+00:00"
},
{
"name": "symfony/polyfill-intl-normalizer",
"version": "v1.27.0",
"version": "v1.28.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-normalizer.git",
"reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6"
"reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6",
"reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6",
"url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92",
"reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92",
"shasum": ""
},
"require": {
......@@ -4399,7 +4400,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "1.27-dev"
"dev-main": "1.28-dev"
},
"thanks": {
"name": "symfony/polyfill",
......@@ -4442,7 +4443,7 @@
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.27.0"
"source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.28.0"
},
"funding": [
{
......@@ -4458,20 +4459,20 @@
"type": "tidelift"
}
],
"time": "2022-11-03T14:55:06+00:00"
"time": "2023-01-26T09:26:14+00:00"
},
{
"name": "symfony/polyfill-mbstring",
"version": "v1.27.0",
"version": "v1.28.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
"reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534"
"reference": "42292d99c55abe617799667f454222c54c60e229"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534",
"reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229",
"reference": "42292d99c55abe617799667f454222c54c60e229",
"shasum": ""
},
"require": {
......@@ -4486,7 +4487,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "1.27-dev"
"dev-main": "1.28-dev"
},
"thanks": {
"name": "symfony/polyfill",
......@@ -4525,7 +4526,7 @@
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-mbstring/tree/v1.27.0"
"source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.0"
},
"funding": [
{
......@@ -4541,20 +4542,20 @@
"type": "tidelift"
}
],
"time": "2022-11-03T14:55:06+00:00"
"time": "2023-07-28T09:04:16+00:00"
},
{
"name": "symfony/polyfill-php72",
"version": "v1.27.0",
"version": "v1.28.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php72.git",
"reference": "869329b1e9894268a8a61dabb69153029b7a8c97"
"reference": "70f4aebd92afca2f865444d30a4d2151c13c3179"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/869329b1e9894268a8a61dabb69153029b7a8c97",
"reference": "869329b1e9894268a8a61dabb69153029b7a8c97",
"url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/70f4aebd92afca2f865444d30a4d2151c13c3179",
"reference": "70f4aebd92afca2f865444d30a4d2151c13c3179",
"shasum": ""
},
"require": {
......@@ -4563,7 +4564,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "1.27-dev"
"dev-main": "1.28-dev"
},
"thanks": {
"name": "symfony/polyfill",
......@@ -4601,7 +4602,7 @@
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-php72/tree/v1.27.0"
"source": "https://github.com/symfony/polyfill-php72/tree/v1.28.0"
},
"funding": [
{
......@@ -4617,20 +4618,20 @@
"type": "tidelift"
}
],
"time": "2022-11-03T14:55:06+00:00"
"time": "2023-01-26T09:26:14+00:00"
},
{
"name": "symfony/polyfill-php73",
"version": "v1.27.0",
"version": "v1.28.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php73.git",
"reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9"
"reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/9e8ecb5f92152187c4799efd3c96b78ccab18ff9",
"reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9",
"url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fe2f306d1d9d346a7fee353d0d5012e401e984b5",
"reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5",
"shasum": ""
},
"require": {
......@@ -4639,7 +4640,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "1.27-dev"
"dev-main": "1.28-dev"
},
"thanks": {
"name": "symfony/polyfill",
......@@ -4680,7 +4681,7 @@
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-php73/tree/v1.27.0"
"source": "https://github.com/symfony/polyfill-php73/tree/v1.28.0"
},
"funding": [
{
......@@ -4696,20 +4697,20 @@
"type": "tidelift"
}
],
"time": "2022-11-03T14:55:06+00:00"
"time": "2023-01-26T09:26:14+00:00"
},
{
"name": "symfony/polyfill-php80",
"version": "v1.27.0",
"version": "v1.28.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php80.git",
"reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936"
"reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936",
"reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936",
"url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/6caa57379c4aec19c0a12a38b59b26487dcfe4b5",
"reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5",
"shasum": ""
},
"require": {
......@@ -4718,7 +4719,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "1.27-dev"
"dev-main": "1.28-dev"
},
"thanks": {
"name": "symfony/polyfill",
......@@ -4763,7 +4764,7 @@
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0"
"source": "https://github.com/symfony/polyfill-php80/tree/v1.28.0"
},
"funding": [
{
......@@ -4779,20 +4780,20 @@
"type": "tidelift"
}
],
"time": "2022-11-03T14:55:06+00:00"
"time": "2023-01-26T09:26:14+00:00"
},
{
"name": "symfony/polyfill-php81",
"version": "v1.27.0",
"version": "v1.28.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php81.git",
"reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a"
"reference": "7581cd600fa9fd681b797d00b02f068e2f13263b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/707403074c8ea6e2edaf8794b0157a0bfa52157a",
"reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a",
"url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/7581cd600fa9fd681b797d00b02f068e2f13263b",
"reference": "7581cd600fa9fd681b797d00b02f068e2f13263b",
"shasum": ""
},
"require": {
......@@ -4801,7 +4802,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "1.27-dev"
"dev-main": "1.28-dev"
},
"thanks": {
"name": "symfony/polyfill",
......@@ -4842,7 +4843,7 @@
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-php81/tree/v1.27.0"
"source": "https://github.com/symfony/polyfill-php81/tree/v1.28.0"
},
"funding": [
{
......@@ -4858,20 +4859,20 @@
"type": "tidelift"
}
],
"time": "2022-11-03T14:55:06+00:00"
"time": "2023-01-26T09:26:14+00:00"
},
{
"name": "symfony/routing",
"version": "v5.4.25",
"version": "v5.4.26",
"source": {
"type": "git",
"url": "https://github.com/symfony/routing.git",
"reference": "56bfc1394f7011303eb2e22724f9b422d3f14649"
"reference": "853fc7df96befc468692de0a48831b38f04d2cb2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/routing/zipball/56bfc1394f7011303eb2e22724f9b422d3f14649",
"reference": "56bfc1394f7011303eb2e22724f9b422d3f14649",
"url": "https://api.github.com/repos/symfony/routing/zipball/853fc7df96befc468692de0a48831b38f04d2cb2",
"reference": "853fc7df96befc468692de0a48831b38f04d2cb2",
"shasum": ""
},
"require": {
......@@ -4932,7 +4933,7 @@
"url"
],
"support": {
"source": "https://github.com/symfony/routing/tree/v5.4.25"
"source": "https://github.com/symfony/routing/tree/v5.4.26"
},
"funding": [
{
......@@ -4948,7 +4949,7 @@
"type": "tidelift"
}
],
"time": "2023-06-05T14:18:47+00:00"
"time": "2023-07-24T13:28:37+00:00"
},
{
"name": "symfony/service-contracts",
......@@ -5035,16 +5036,16 @@
},
{
"name": "symfony/string",
"version": "v5.4.22",
"version": "v5.4.26",
"source": {
"type": "git",
"url": "https://github.com/symfony/string.git",
"reference": "8036a4c76c0dd29e60b6a7cafcacc50cf088ea62"
"reference": "1181fe9270e373537475e826873b5867b863883c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/string/zipball/8036a4c76c0dd29e60b6a7cafcacc50cf088ea62",
"reference": "8036a4c76c0dd29e60b6a7cafcacc50cf088ea62",
"url": "https://api.github.com/repos/symfony/string/zipball/1181fe9270e373537475e826873b5867b863883c",
"reference": "1181fe9270e373537475e826873b5867b863883c",
"shasum": ""
},
"require": {
......@@ -5101,7 +5102,7 @@
"utf8"
],
"support": {
"source": "https://github.com/symfony/string/tree/v5.4.22"
"source": "https://github.com/symfony/string/tree/v5.4.26"
},
"funding": [
{
......@@ -5117,20 +5118,20 @@
"type": "tidelift"
}
],
"time": "2023-03-14T06:11:53+00:00"
"time": "2023-06-28T12:46:07+00:00"
},
{
"name": "symfony/var-dumper",
"version": "v5.4.25",
"version": "v5.4.28",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
"reference": "82269f73c0f0f9859ab9b6900eebacbe54954ede"
"reference": "684b36ff415e1381d4a943c3ca2502cd2debad73"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/82269f73c0f0f9859ab9b6900eebacbe54954ede",
"reference": "82269f73c0f0f9859ab9b6900eebacbe54954ede",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/684b36ff415e1381d4a943c3ca2502cd2debad73",
"reference": "684b36ff415e1381d4a943c3ca2502cd2debad73",
"shasum": ""
},
"require": {
......@@ -5144,6 +5145,7 @@
"require-dev": {
"ext-iconv": "*",
"symfony/console": "^4.4|^5.0|^6.0",
"symfony/http-kernel": "^4.4|^5.0|^6.0",
"symfony/process": "^4.4|^5.0|^6.0",
"symfony/uid": "^5.1|^6.0",
"twig/twig": "^2.13|^3.0.4"
......@@ -5189,7 +5191,7 @@
"dump"
],
"support": {
"source": "https://github.com/symfony/var-dumper/tree/v5.4.25"
"source": "https://github.com/symfony/var-dumper/tree/v5.4.28"
},
"funding": [
{
......@@ -5205,20 +5207,20 @@
"type": "tidelift"
}
],
"time": "2023-06-20T20:56:26+00:00"
"time": "2023-08-24T13:38:36+00:00"
},
{
"name": "symfony/var-exporter",
"version": "v5.4.21",
"version": "v5.4.26",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-exporter.git",
"reference": "be74908a6942fdd331554b3cec27ff41b45ccad4"
"reference": "11401fe94f960249b3c63a488c63ba73091c1e4a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-exporter/zipball/be74908a6942fdd331554b3cec27ff41b45ccad4",
"reference": "be74908a6942fdd331554b3cec27ff41b45ccad4",
"url": "https://api.github.com/repos/symfony/var-exporter/zipball/11401fe94f960249b3c63a488c63ba73091c1e4a",
"reference": "11401fe94f960249b3c63a488c63ba73091c1e4a",
"shasum": ""
},
"require": {
......@@ -5262,7 +5264,7 @@
"serialize"
],
"support": {
"source": "https://github.com/symfony/var-exporter/tree/v5.4.21"
"source": "https://github.com/symfony/var-exporter/tree/v5.4.26"
},
"funding": [
{
......@@ -5278,7 +5280,7 @@
"type": "tidelift"
}
],
"time": "2023-02-21T19:46:44+00:00"
"time": "2023-07-20T07:21:16+00:00"
},
{
"name": "symfony/yaml",
......@@ -5984,5 +5986,5 @@
"platform-overrides": {
"php": "7.4"
},
"plugin-api-version": "2.3.0"
"plugin-api-version": "2.6.0"
}
......@@ -11,12 +11,21 @@
"login_button_register": {
"en": "Sign up"
},
"forgot_password": {
"en": "Forgotten password? Recover it here."
},
"forgot_username": {
"en": "Forgotten username? Recover it here."
},
"email": {
"en": "Email"
},
"login_button_forgotten_password": {
"en": "Forgotten password"
},
"login_button_forgotten_username": {
"en": "Forgotten username"
},
"title_WRONGUSERPASS": {
"en": "Incorrect username or password"
},
......
......@@ -23,6 +23,9 @@
"err_text_part2": {
"en": "If you have problem with recovering your password, please contact "
},
"button_forgotten_username": {
"en": "Forgot your username?"
},
"support": {
"en": "support"
},
......
{
"header": {
"en": "Forgot your username?"
},
"email": {
"en": "Email"
},
"text": {
"en": "Enter your email address. We'll send you the username if an account exists associated with the specified email."
},
"ok_header": {
"en": "Check the inbox."
},
"ok_text": {
"em": " If there is an account associated with the specified email, you will see your username."
},
"err_header": {
"en": "Something went wrong"
},
"err_text_part1": {
"en": "Oops, there has been a problem on our side. Please contact "
},
"err_text_part2": {
"en": "In the message, please specify that you have been trying to get an LS Username reminder and do not forget to include the email address you have used."
},
"support": {
"en": "support"
},
"submit": {
"en": "Submit"
}
}
......@@ -68,6 +68,48 @@ class TemplateHelper
Logger::debug(print_r($response, true));
}
public static function sendUsernameReminder($email)
{
$rpcAdapter = new AdapterRpc();
$conf = Configuration::getConfig(TemplateHelper::CONFIG_FILE_NAME);
$pwdConf = $conf->getConfigItem(TemplateHelper::PWD_RESET);
$voShortName = $pwdConf->getString(TemplateHelper::PWDRESET_VO_SHORT_NAME);
$perunNamespace = $pwdConf->getString(TemplateHelper::PWDRESET_PERUN_NAMESPACE);
$emailAttr = $pwdConf->getString(TemplateHelper::PWDRESET_PERUN_EMAIL_ATTR);
$userName = trim($email);
Logger::debug(print_r($email, true));
try {
$user = $rpcAdapter->getPerunUserByEmail($emailAttr, $email);
Logger::debug(print_r($user, true));
} catch (Exception $ex) {
throw new Exception($ex);
}
if (null === $user) {
throw new Exception('There is no Lifescience RI user with username: ' . $userName);
}
$vo = $rpcAdapter->getVoByShortName($voShortName);
$member = $rpcAdapter->getMemberByUser($user, $vo);
$connector = $rpcAdapter->getConnector();
$response = $connector->post(
'membersManager',
'sendUsernameReminderEmail',
[
'member' => $member->getId(),
'namespace' => $perunNamespace,
'emailAttributeURN' => $emailAttr,
'language' => TemplateHelper::LANG_EN,
]
);
Logger::debug(print_r($response, true));
}
/**
* Recursive attribute array listing function.
*
......
{
"name": "simplesamlphp-module-lsaai",
"lockfileVersion": 3,
"requires": true,
"lockfileVersion": 1,
"dependencies": {
"@types/node": {
"version": "16.18.38",
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.38.tgz",
"integrity": "sha512-6sfo1qTulpVbkxECP+AVrHV9OoJqhzCsfTNp5NIG+enM4HyM3HvZCO798WShIXBN0+QtDIcutJCjsVYnQP5rIQ==",
"dev": true
"packages": {
"": {
"name": "simplesamlphp-module-lsaai",
"license": "BSD-3-Clause",
"devDependencies": {
"browserslist-useragent-regexp": "4.1.0"
}
},
"ansi-regex": {
"node_modules/ansi-regex": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
"dev": true
},
"ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"requires": {
"color-convert": "^2.0.1"
"engines": {
"node": ">=8"
}
},
"argue-cli": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/argue-cli/-/argue-cli-1.2.1.tgz",
"integrity": "sha512-Em3HDMlqiVLNOgXUCYz5NG1mx/44aijsxUOO8elmfvAN4/3ar1S3WPTua7WGhsMbeQm8clOwpDZ09sN7C2FnOg==",
"dev": true
"node_modules/argue-cli": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/argue-cli/-/argue-cli-2.1.0.tgz",
"integrity": "sha512-dgojXfc4SiqmNwe38PnbT3zJasrz7g62dLAPD+VFT5RJb8W7LGRqw2IFd2ES+plnhsp4HYNJmFqMU1tCThdCww==",
"dev": true,
"engines": {
"node": ">=14.0.0"
}
},
"browserslist": {
"version": "4.21.9",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.9.tgz",
"integrity": "sha512-M0MFoZzbUrRU4KNfCrDLnvyE7gub+peetoTid3TBIqtunaDJyXlwhakT+/VkvSXcfIzFfK/nkCs4nmyTmxdNSg==",
"node_modules/browserslist": {
"version": "4.21.10",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.10.tgz",
"integrity": "sha512-bipEBdZfVH5/pwrvqc+Ub0kUPVfGUhlKxbvfD+z1BDnPEO/X98ruXGA1WP5ASpAFKan7Qr6j736IacbZQuAlKQ==",
"dev": true,
"requires": {
"caniuse-lite": "^1.0.30001503",
"electron-to-chromium": "^1.4.431",
"node-releases": "^2.0.12",
"funding": [
{
"type": "opencollective",
"url": "https://opencollective.com/browserslist"
},
{
"type": "tidelift",
"url": "https://tidelift.com/funding/github/npm/browserslist"
},
{
"type": "github",
"url": "https://github.com/sponsors/ai"
}
],
"peer": true,
"dependencies": {
"caniuse-lite": "^1.0.30001517",
"electron-to-chromium": "^1.4.477",
"node-releases": "^2.0.13",
"update-browserslist-db": "^1.0.11"
},
"bin": {
"browserslist": "cli.js"
},
"engines": {
"node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
}
},
"browserslist-useragent-regexp": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/browserslist-useragent-regexp/-/browserslist-useragent-regexp-3.0.2.tgz",
"integrity": "sha512-hOvTo9ObY+2PvCLxydvam5WD9hlvWB4bFzRLxc/M5OdJfzjgfsQ9wEF7EpJJP7UJUAnKJdJK28XsSrl5d1DfoA==",
"node_modules/browserslist-useragent-regexp": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/browserslist-useragent-regexp/-/browserslist-useragent-regexp-4.1.0.tgz",
"integrity": "sha512-ob2n92QgGEsI1Vfly4U4gfIyfTk7FA7znPXMuNgFE7opaML+TS+cciBMP0IkTSI0NomhyGdxUAt7dd3yNPIEwA==",
"dev": true,
"requires": {
"@types/node": "^16.9.6",
"argue-cli": "^1.2.0",
"browserslist": "^4.16.3",
"chalk": "^4.0.0",
"funding": [
"https://opencollective.com/browserslist-useragent-regexp",
"https://ko-fi.com/dangreen"
],
"dependencies": {
"argue-cli": "^2.1.0",
"easy-table": "^1.1.1",
"useragent": "^2.3.0"
"picocolors": "^1.0.0",
"regexp-tree": "^0.1.24",
"ua-regexes-lite": "^1.1.3"
},
"bin": {
"bluare": "dist/cli.js",
"browserslist-useragent-regexp": "dist/cli.js"
},
"engines": {
"node": ">=14.0.0"
},
"peerDependencies": {
"browserslist": ">=4.0.0"
}
},
"caniuse-lite": {
"version": "1.0.30001516",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001516.tgz",
"integrity": "sha512-Wmec9pCBY8CWbmI4HsjBeQLqDTqV91nFVR83DnZpYyRnPI1wePDsTg0bGLPC5VU/3OIZV1fmxEea1b+tFKe86g==",
"dev": true
},
"chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"node_modules/caniuse-lite": {
"version": "1.0.30001532",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001532.tgz",
"integrity": "sha512-FbDFnNat3nMnrROzqrsg314zhqN5LGQ1kyyMk2opcrwGbVGpHRhgCWtAgD5YJUqNAiQ+dklreil/c3Qf1dfCTw==",
"dev": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
},
"clone": {
"funding": [
{
"type": "opencollective",
"url": "https://opencollective.com/browserslist"
},
{
"type": "tidelift",
"url": "https://tidelift.com/funding/github/npm/caniuse-lite"
},
{
"type": "github",
"url": "https://github.com/sponsors/ai"
}
],
"peer": true
},
"node_modules/clone": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",
"integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==",
"dev": true,
"optional": true
},
"color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"requires": {
"color-name": "~1.1.4"
"optional": true,
"engines": {
"node": ">=0.8"
}
},
"color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true
},
"defaults": {
"node_modules/defaults": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz",
"integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==",
"dev": true,
"optional": true,
"requires": {
"dependencies": {
"clone": "^1.0.2"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"easy-table": {
"node_modules/easy-table": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/easy-table/-/easy-table-1.2.0.tgz",
"integrity": "sha512-OFzVOv03YpvtcWGe5AayU5G2hgybsg3iqA6drU8UaoZyB9jLGMTrz9+asnLp/E+6qPh88yEI1gvyZFZ41dmgww==",
"dev": true,
"requires": {
"ansi-regex": "^5.0.1",
"dependencies": {
"ansi-regex": "^5.0.1"
},
"optionalDependencies": {
"wcwidth": "^1.0.1"
}
},
"electron-to-chromium": {
"version": "1.4.461",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.461.tgz",
"integrity": "sha512-1JkvV2sgEGTDXjdsaQCeSwYYuhLRphRpc+g6EHTFELJXEiznLt3/0pZ9JuAOQ5p2rI3YxKTbivtvajirIfhrEQ==",
"dev": true
"node_modules/electron-to-chromium": {
"version": "1.4.513",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.513.tgz",
"integrity": "sha512-cOB0xcInjm+E5qIssHeXJ29BaUyWpMyFKT5RB3bsLENDheCja0wMkHJyiPl0NBE/VzDI7JDuNEQWhe6RitEUcw==",
"dev": true,
"peer": true
},
"escalade": {
"node_modules/escalade": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
"integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
"dev": true
},
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true
},
"lru-cache": {
"version": "4.1.5",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz",
"integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==",
"dev": true,
"requires": {
"pseudomap": "^1.0.2",
"yallist": "^2.1.2"
"peer": true,
"engines": {
"node": ">=6"
}
},
"node-releases": {
"node_modules/node-releases": {
"version": "2.0.13",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz",
"integrity": "sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==",
"dev": true
},
"os-tmpdir": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
"integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==",
"dev": true
"dev": true,
"peer": true
},
"picocolors": {
"node_modules/picocolors": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
"integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
"dev": true
},
"pseudomap": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",
"integrity": "sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==",
"dev": true
},
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"node_modules/regexp-tree": {
"version": "0.1.27",
"resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.27.tgz",
"integrity": "sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==",
"dev": true,
"requires": {
"has-flag": "^4.0.0"
"bin": {
"regexp-tree": "bin/regexp-tree"
}
},
"tmp": {
"version": "0.0.33",
"resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz",
"integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==",
"node_modules/ua-regexes-lite": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/ua-regexes-lite/-/ua-regexes-lite-1.1.5.tgz",
"integrity": "sha512-RoqnqXhegm2XT7rYYL21P7bAlIcpMJ2usoG4c/pekB5iajO+l81qliCTvmCENfe1suTaMGjpuQh8frjBnb4sCA==",
"dev": true,
"requires": {
"os-tmpdir": "~1.0.2"
"funding": [
"https://opencollective.com/browserslist-useragent-regexp",
"https://ko-fi.com/dangreen"
],
"engines": {
"node": ">=14"
}
},
"update-browserslist-db": {
"node_modules/update-browserslist-db": {
"version": "1.0.11",
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz",
"integrity": "sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==",
"dev": true,
"requires": {
"funding": [
{
"type": "opencollective",
"url": "https://opencollective.com/browserslist"
},
{
"type": "tidelift",
"url": "https://tidelift.com/funding/github/npm/browserslist"
},
{
"type": "github",
"url": "https://github.com/sponsors/ai"
}
],
"peer": true,
"dependencies": {
"escalade": "^3.1.1",
"picocolors": "^1.0.0"
},
"bin": {
"update-browserslist-db": "cli.js"
},
"peerDependencies": {
"browserslist": ">= 4.21.0"
}
},
"useragent": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/useragent/-/useragent-2.3.0.tgz",
"integrity": "sha512-4AoH4pxuSvHCjqLO04sU6U/uE65BYza8l/KKBS0b0hnUPWi+cQ2BpeTEwejCSx9SPV5/U03nniDTrWx5NrmKdw==",
"dev": true,
"requires": {
"lru-cache": "4.1.x",
"tmp": "0.0.x"
}
},
"wcwidth": {
"node_modules/wcwidth": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz",
"integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==",
"dev": true,
"optional": true,
"requires": {
"dependencies": {
"defaults": "^1.0.3"
}
},
"yallist": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz",
"integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==",
"dev": true
}
}
}
......@@ -2,7 +2,7 @@
"name": "simplesamlphp-module-lsaai",
"private": true,
"devDependencies": {
"browserslist-useragent-regexp": "3.0.2"
"browserslist-useragent-regexp": "4.1.0"
},
"scripts": {
"unsupportedBrowsers": "echo \"module.exports = $(BROWSERSLIST_ENV=unsupported browserslist-useragent-regexp);\" > www/res/js/unsupportedBrowsers.js"
......
......@@ -183,6 +183,10 @@ echo $onLoad; ?>>
echo $this->t('{lsaai:pwd_reset:submit}'); ?>
</button>
</div>
<a class="btn btn-link" href="<?php
echo SimpleSAML\Module::getModuleURL("lsaai/username_reminder.php");?>">
<?php echo $this->t('{lsaai:pwd_reset:button_forgotten_username}')?>
</a>
</form>
<?php
......
<?php
declare(strict_types=1);
use SimpleSAML\Configuration;
use SimpleSAML\Logger;
use SimpleSAML\Module\lsaai\TemplateHelper;
$config = Configuration::getInstance();
if (!isset($_POST['usernameReminderOk'])) {
$_POST['usernameReminderOk'] = false;
}
/*
* Support the htmlinject hook, which allows modules to change header, pre and post body on all pages.
*/
$this->data['htmlinject'] = [
'htmlContentPre' => [],
'htmlContentPost' => [],
'htmlContentHead' => [],
];
$jquery = [];
if (array_key_exists('jquery', $this->data)) {
$jquery = $this->data['jquery'];
}
if (array_key_exists('pageid', $this->data)) {
$hookinfo = [
'pre' => &$this->data['htmlinject']['htmlContentPre'],
'post' => &$this->data['htmlinject']['htmlContentPost'],
'head' => &$this->data['htmlinject']['htmlContentHead'],
'jquery' => &$jquery,
'page' => $this->data['pageid'],
];
SimpleSAML\Module::callHooks('htmlinject', $hookinfo);
}
header('X-Frame-Options: SAMEORIGIN');
?><!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0"/>
<script type="text/javascript" src="/<?php
echo $this->data['baseurlpath']; ?>resources/script.js"></script>
<title>LS Username Login</title>
<link rel="stylesheet" type="text/css" href="/<?php
echo $this->data['baseurlpath']; ?>resources/default.css"/>
<link rel="icon" type="image/icon" href="/<?php
echo $this->data['baseurlpath']; ?>resources/icons/favicon.ico"/>
<?php
if (!empty($this->data['htmlinject']['htmlContentHead'])) {
foreach ($this->data['htmlinject']['htmlContentHead'] as $c) {
echo $c;
}
}
if ($this->isLanguageRTL()) {
?>
<link rel="stylesheet" type="text/css" href="/<?php
echo $this->data['baseurlpath']; ?>resources/default-rtl.css"/>
<?php
}
?>
<link rel="stylesheet" type="text/css" href="<?php
echo SimpleSAML\Module::getModuleUrl('lsaai/res/bootstrap/css/bootstrap.min.css'); ?>"/>
<link rel="stylesheet" type="text/css" href="<?php
echo SimpleSAML\Module::getModuleUrl('lsaai/res/css/lsaai.css'); ?>"/>
<meta name="robots" content="noindex, nofollow"/>
<?php
if (array_key_exists('head', $this->data)) {
echo '<!-- head -->' . $this->data['head'] . '<!-- /head -->';
}
?>
</head>
<?php
$onLoad = '';
if (array_key_exists('autofocus', $this->data)) {
$onLoad .= 'SimpleSAML_focus(\'' . $this->data['autofocus'] . '\');';
}
if (isset($this->data['onLoad'])) {
$onLoad .= $this->data['onLoad'];
}
if ('' !== $onLoad) {
$onLoad = ' onload="' . $onLoad . '"';
}
?>
<body<?php
echo $onLoad; ?>>
<div id="wrap">
<div id="content" class="content">
<div class="row pl-0 pr-0">
<div class="col-md-6 col-md-offset-3 logo-wrap col-align--center">
<img src="<?php
echo SimpleSAML\Module::getModuleUrl('lsaai/res/img/ls_logo.png'); ?>" alt="LS Username Login Logo">
</div>
<div class="col-md-6 col-md-offset-3">
<?php
echo '<h1> ' . $this->t('{lsaai:username_reminder:header}') . '</h1>';
$userEmail = '';
if (isset($_POST['email'])) {
$userEmail = $_POST['email'];
try {
if (!$_POST['usernameReminderOk']) {
TemplateHelper::sendUsernameReminder($userEmail);
$_POST['usernameReminderOk'] = true;
unset($_POST['email']);
} ?>
<div class="alert alert-success">
<p>
<span class="glyphicon glyphicon-exclamation-sign"
style="float:left; font-size: 38px; margin-right: 10px;"></span>
<strong><?php
echo $this->t('{lsaai:username_reminder:ok_header}'); ?></strong>
</p>
<p><?php
echo $this->t('{lsaai:username_reminder:ok_text}'); ?></p>
</div>
<?php
} catch (\Exception $exception) {
Logger::error('username_reminder-tpl.php - ' . $exception->getMessage());
$emailAddress = $config->getString('technicalcontact_email');
if (!str_starts_with('mailto:', $emailAddress)) {
$emailAddress = 'mailto:' . $emailAddress;
} ?>
<div class="alert alert-danger">
<span class="glyphicon glyphicon-exclamation-sign"
style="float:left; font-size: 38px; margin-right: 10px;"></span>
<strong><?php
echo $this->t('{lsaai:username_reminder:err_header}'); ?></strong>
<p><?php
echo $this->t('{lsaai:username_reminder:err_text_part1}'); ?>
<a href="<?php
echo $emailAddress; ?>">
<?php echo $this->t('{lsaai:username_reminder:support}'); ?></a>.
<?php echo $this->t('{lsaai:username_reminder:err_text_part2}'); ?>
</p>
</div>
<?php
}
}
if (!$_POST['usernameReminderOk']) {
?>
<p><?php
echo $this->t('{lsaai:username_reminder:text}'); ?></p>
<br>
<form action="" method="post" name="username_reminder" class="form-horizontal">
<div class="form-group">
<label class="sr-only" for="inlineFormInputGroup"><?php
echo $this->t('{lsaai:username_reminder:email}'); ?></label>
<div class="input-group mb-2">
<span class="input-group-addon">
<span class=" glyphicon glyphicon-envelope" id="basic-addon1"></span>
</span>
<input id="email" name="email" class="form-control" value="<?php
echo $userEmail; ?>" placeholder="Email address" aria-describedby="basic-addon1"/>
</div>
</div>
<div class="form-group">
<button class="btn btn-success btn-block" type="submit">
<?php
echo $this->t('{lsaai:username_reminder:submit}'); ?>
</button>
</div>
</form>
<?php
}
?>
</div>
<?php
$this->includeAtTemplateBase('includes/footer.php');
......@@ -183,11 +183,15 @@ echo $onLoad; ?>>
</p>
<?php
} ?>
<a class="btn btn-link" href="<?php
<a class="btn btn-link" href="<?php
echo SimpleSAML\Module::getModuleURL('lsaai/pwd_reset.php'); ?>">
<?php
echo $this->t('{lsaai:lsaai:forgot_password}'); ?>
</a>
<?php echo $this->t('{lsaai:lsaai:forgot_password}'); ?>
</a>
<br/>
<a class="btn btn-link" href="<?php
echo SimpleSAML\Module::getModuleURL('lsaai/username_reminder.php'); ?>">
<?php echo $this->t('{lsaai:lsaai:forgot_username}'); ?>
</a>
</div>
<?php
}
......@@ -235,6 +239,10 @@ echo $onLoad; ?>>
<?php
echo $this->t('{lsaai:lsaai:login_button_forgotten_password}')?>
</a>
<a class="btn btn-link" href="<?php
echo SimpleSAML\Module::getModuleURL("lsaai/username_reminder.php");?>">
<?php echo $this->t('{lsaai:lsaai:login_button_forgotten_username}')?>
</a>
</div>
<?php
foreach ($this->data['stateparams'] as $name => $value) {
......
<?php
declare(strict_types=1);
use SimpleSAML\Configuration;
use SimpleSAML\Module\perun\AdapterRpc;
use SimpleSAML\XHTML\Template;
$config = Configuration::getInstance();
$t = new Template($config, 'lsaai:username_reminder-tpl.php');
$t->show();