mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-04-22 22:27:36 +02:00
Added warning if user still uses default password
This commit is contained in:
parent
3821d8c277
commit
7103f8dc1d
@ -11,7 +11,7 @@
|
|||||||
<link rel="stylesheet" href="{{ asset('littlelink/css/animate.css') }}">
|
<link rel="stylesheet" href="{{ asset('littlelink/css/animate.css') }}">
|
||||||
|
|
||||||
<link href="//fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900" rel="stylesheet">
|
<link href="//fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css">
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css">
|
||||||
<!-- begin dark mode detection -->
|
<!-- begin dark mode detection -->
|
||||||
<script src="{{ asset('littlelink/js/js.cookie.min.js') }}"></script>
|
<script src="{{ asset('littlelink/js/js.cookie.min.js') }}"></script>
|
||||||
<script>
|
<script>
|
||||||
@ -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