mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-05 02:34:38 +02:00
CSRF added to customer acounts update
This commit is contained in:
parent
6be0da383c
commit
6e5450d104
5 changed files with 38 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
<div class="panel-heading">{Lang::T('Change Password')}</div>
|
||||
<div class="panel-body">
|
||||
<form class="form-horizontal" method="post" role="form" action="{$_url}accounts/change-password-post">
|
||||
<input type="hidden" name="csrf_token" value="{$csrf_token}">
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{Lang::T('Current Password')}</label>
|
||||
<div class="col-md-6">
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<form method="post" role="form" action="{$_url}accounts/email-update-otp">
|
||||
<input type="hidden" name="csrf_token" value="{$csrf_token}">
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{Lang::T('New Email')}</label>
|
||||
<div class="col-md-6">
|
||||
|
@ -34,6 +35,7 @@
|
|||
</div>
|
||||
</form>
|
||||
<form method="post" role="form" action="{$_url}accounts/email-update-post">
|
||||
<input type="hidden" name="csrf_token" value="{$csrf_token}">
|
||||
<!-- Form 2 -->
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{Lang::T('OTP')}</label>
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<form method="post" role="form" action="{$_url}accounts/phone-update-otp">
|
||||
<input type="hidden" name="csrf_token" value="{$csrf_token}">
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{Lang::T('New Number')}</label>
|
||||
<div class="col-md-6">
|
||||
|
@ -34,6 +35,7 @@
|
|||
</div>
|
||||
</form>
|
||||
<form method="post" role="form" action="{$_url}accounts/phone-update-post">
|
||||
<input type="hidden" name="csrf_token" value="{$csrf_token}">
|
||||
<!-- Form 2 -->
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{Lang::T('OTP')}</label>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<div class="panel-heading">{Lang::T('Data Change')}</div>
|
||||
<div class="panel-body">
|
||||
<form class="form-horizontal" method="post" role="form" action="{$_url}accounts/edit-profile-post">
|
||||
<input type="hidden" name="csrf_token" value="{$csrf_token}">
|
||||
<input type="hidden" name="id" value="{$_user['id']}">
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{Lang::T('Username')}</label>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue