mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-04-19 04:37:18 +02:00
Added warning if user still uses default password
This commit is contained in:
parent
3821d8c277
commit
7103f8dc1d
@ -294,6 +294,23 @@ if($url1sb == '200' or $url2sb == '200') {
|
|||||||
</div
|
</div
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
{{-- Displays a warning message if default password is still set --}}
|
||||||
|
@php $userdbs = DB::table('users')->get(); @endphp
|
||||||
|
|
||||||
|
@foreach($userdbs as $userdb)
|
||||||
|
|
||||||
|
@if(Hash::check('12345678', $userdb->password))
|
||||||
|
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
||||||
|
<div class="container-fluid">
|
||||||
|
<a style="background-color:tomato;color:#fff;border-radius:5px;" class="nav-link" href="{{ url('/studio/profile') }}" target=""><i class="bi bi-exclamation-circle-fill"></i> <strong>You are still using the default password! Click here to change this.</strong></a>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
@endif
|
||||||
|
|
||||||
|
@endforeach
|
||||||
|
|
||||||
|
|
||||||
<! –– #### begin event detection #### ––>
|
<! –– #### begin event detection #### ––>
|
||||||
<?php
|
<?php
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user