mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-16 20:11:01 +01:00
Change email option is now hidden if email auth is enabled
Added if statement that hides the option for users to change their email if email registration authentication is enabled (which it is by default).
This commit is contained in:
parent
56643ed068
commit
518d82125e
@ -15,6 +15,7 @@
|
||||
<button type="Change " class="mt-3 ml-3 btn btn-info">Change name</button>
|
||||
</form>
|
||||
|
||||
@if(env('REGISTER_AUTH') != 'verified')
|
||||
<br><br><form action="{{ route('editProfile') }}" method="post">
|
||||
@csrf
|
||||
<div class="form-group col-lg-8">
|
||||
@ -23,6 +24,7 @@
|
||||
</div>
|
||||
<button type="Change " class="mt-3 ml-3 btn btn-info">Change email</button>
|
||||
</form>
|
||||
@endif
|
||||
|
||||
<br><br><form action="{{ route('editProfile') }}" method="post">
|
||||
@csrf
|
||||
|
Loading…
x
Reference in New Issue
Block a user