Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Commit 81fe888

Browse files
author
Holger Lösken
committed
Improved testing, better usage for magic links for proctec content
1 parent 3fee177 commit 81fe888

19 files changed

Lines changed: 197 additions & 972 deletions

File tree

DOCUMENTATION.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ show a magic link login below the normal password login form:
77
* `{{ magiclink:login-link }}`: Displays a completely rendered `a` tag. For customizing the html, see [Customization](#Customization).
88
* `{{ magiclink:login-route }}`: Return the route to the magic link form. Use this with your own markup.
99

10+
## Allowed addresses
11+
12+
You can define which users can request magic links. The default is, that all users that have a CP user account can request a magic link.
13+
14+
1015
## Permissions
1116

1217
The access to settings of MagicLink can be restricted to certain users. When navigation to _Permissions_ inside the

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ instead use a magic link which is sent by email.
1010
**Features**
1111
* Login to Control Panel with magic links
1212
* Login to protected content with custom password form with magic links
13+
* Restrict sending magic links to defined email addresses
1314
* Display issued magic links in Control Panel
1415
* Permission scheme for display links and settings in Control Panel
1516

@@ -37,6 +38,10 @@ On the CP login page you can now see a link "Send Magic Link".
3738

3839
Just open an [issue at Github](https://github.com/codedge/statamic-magiclink/issues).
3940

41+
# Security
42+
43+
If you find any security related issues, please get in contact via post@codedge.de first. Please do not open an issues on Github.
44+
4045
# License
4146

4247
Before going into production with *Statamic MagicLink*, you need to buy a licence at the [Statamic Marketplace](https://statamic.com/addons?statamic=3).

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
}
4040
},
4141
"scripts": {
42-
"test": "./vendor/bin/phpunit",
42+
"test": "./vendor/bin/phpunit --debug --testdox",
4343
"test-coverage": "./vendor/bin/phpunit --coverage-html coverage",
4444
"test-clover-coverage": "./vendor/bin/phpunit --coverage-clover clover.xml"
4545
},

composer.lock

Lines changed: 20 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)