refactor: badge color change
Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
parent
830c15e6ee
commit
d5521030a0
@ -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;
|
||||
|
@ -22,7 +22,7 @@
|
||||
@elseif($hasDiscord)
|
||||
<span class="badge badge-info ml-2"><i class="fas fa-passport"></i> {{ __('Passwordless signin') }}</span>
|
||||
@else
|
||||
<span class="badge badge-info ml-2"><i class="fas fa-times"></i> {{ __('No password') }}</span>
|
||||
<span class="badge badge-danger ml-2"><i class="fas fa-times"></i> {{ __('No password') }}</span>
|
||||
@endif
|
||||
|
||||
@if($hasDiscord)
|
||||
|
Loading…
x
Reference in New Issue
Block a user