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

Commit a636a9b

Browse files
author
Holger Lösken
committed
Merge branch 'master' of github.com:codedge/statamic-magiclink
2 parents 81fe888 + 7883817 commit a636a9b

3 files changed

Lines changed: 1 addition & 4 deletions

File tree

src/Http/Controllers/Cp/Auth/MagicLinkLoginController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function login(Request $request)
2828
* the protected content feature.
2929
*/
3030
$user = User::findByEmail($request->get('user_email'));
31-
if($user !== null) {
31+
if ($user !== null) {
3232
Auth::guard('web')->login($user);
3333
}
3434

src/Http/Controllers/Cp/LinksController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use Carbon\Carbon;
88
use Codedge\MagicLink\MagicLinkManager;
9-
use Illuminate\Http\Request;
109
use Statamic\CP\Column;
1110

1211
final class LinksController extends BaseCpController

src/MagicLink.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
namespace Codedge\MagicLink;
66

77
use Carbon\Carbon;
8-
use Illuminate\Support\Facades\Session;
98
use Illuminate\Support\Facades\URL;
109
use Statamic\Contracts\Auth\User;
1110

@@ -19,7 +18,6 @@ final class MagicLink
1918
/**
2019
* Redirect to the page after a successful login. This is either the CP dashboard or a page with protected
2120
* content.
22-
*
2321
*/
2422
protected string $redirectTo;
2523
protected string $link;

0 commit comments

Comments
 (0)