diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php index b117dfb..137a8d3 100755 --- a/app/Http/Controllers/UserController.php +++ b/app/Http/Controllers/UserController.php @@ -360,7 +360,7 @@ class UserController extends Controller $this->authorize('adminEdit', $user); - if (!$user->hasPassword()) { + if ($user->hasPassword()) { $user->notify(new PasswordAdminResetNotification()); $user->password = null; diff --git a/resources/views/components/account-status.blade.php b/resources/views/components/account-status.blade.php index a36ea7c..fd32235 100755 --- a/resources/views/components/account-status.blade.php +++ b/resources/views/components/account-status.blade.php @@ -22,7 +22,7 @@ @elseif($hasDiscord) {{ __('Passwordless signin') }} @else - {{ __('No password') }} + {{ __('No password') }} @endif @if($hasDiscord)