Skip to content

Commit 9cac66b

Browse files
committed
Merge branch 'main' into feature/fix-user-model
2 parents 504c2d9 + c313f2b commit 9cac66b

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to `dutchcodingcompany/developer-logins` will be documented in this file.
44

5+
## 1.8.1 - 2025-05-19
6+
7+
- Bugfix: Allow showing the menu while disconnected by @mathieutu in https://github.com/DutchCodingCompany/filament-developer-logins/pull/35
8+
59
## 1.8.0 - 2025-02-26
610

711
- Add support for Laravel 12 by @bramr94 in https://github.com/DutchCodingCompany/filament-developer-logins/pull/32

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ quality to benefit the project. Many developers have different skillsets, streng
2020

2121
When requesting or submitting new features, first consider whether it might be useful to others. Open
2222
source projects are used by many developers, who may have entirely different needs to your own. Think about
23-
whether or not your feature is likely to be used by other users of the project.
23+
whether or not your feature is likely to be used by other users of the project. We do not accept PR's that add translations.
2424

2525
## Procedure
2626

src/Livewire/MenuLogins.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ public function render(): View
2727
]);
2828
}
2929

30-
protected function getCurrentUser(): string
30+
protected function getCurrentUser(): ?string
3131
{
32-
return Filament::auth()->user()->{$this->plugin->getColumn()};
32+
return Filament::auth()->user()?->{$this->plugin->getColumn()};
3333
}
3434

3535
public function loginAs(string $credentials): RedirectResponse | Redirector

0 commit comments

Comments
 (0)