Skip to content

Commit 0cba21b

Browse files
Update profile.blade.php
Allows admins to change their email regardless if email auth is enabled or not.
1 parent 8555a8e commit 0cba21b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/studio/profile.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<button type="Change " class="mt-3 ml-3 btn btn-info">Change name</button>
1616
</form>
1717

18-
@if(env('REGISTER_AUTH') != 'verified')
18+
@if(env('REGISTER_AUTH') != 'verified' or auth()->user()->role == 'admin')
1919
<br><br><form action="{{ route('editProfile') }}" method="post">
2020
@csrf
2121
<div class="form-group col-lg-8">

0 commit comments

Comments
 (0)