mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-16 20:11:01 +01:00
Update profile.blade.php
Allows admins to change their email regardless if email auth is enabled or not.
This commit is contained in:
parent
8555a8eeef
commit
0cba21bee8
@ -15,7 +15,7 @@
|
||||
<button type="Change " class="mt-3 ml-3 btn btn-info">Change name</button>
|
||||
</form>
|
||||
|
||||
@if(env('REGISTER_AUTH') != 'verified')
|
||||
@if(env('REGISTER_AUTH') != 'verified' or auth()->user()->role == 'admin')
|
||||
<br><br><form action="{{ route('editProfile') }}" method="post">
|
||||
@csrf
|
||||
<div class="form-group col-lg-8">
|
||||
|
Loading…
x
Reference in New Issue
Block a user