-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Change Password page for admins
- Loading branch information
MinePoS Dedicated
committed
Jul 6, 2018
1 parent
63b2df2
commit 3e92dac
Showing
5 changed files
with
84 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
resources/views/admin/pages/account/changepassword.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
@extends('admin.layout') | ||
|
||
@section('title') | ||
Change Password | ||
@endsection | ||
|
||
@section('desc') | ||
Changing your password is always a good idea | ||
@endsection | ||
|
||
@section('content') | ||
|
||
<div class="col-md-12"> | ||
<!-- general form elements --> | ||
<div class="box box-primary"> | ||
<div class="box-header with-border"> | ||
<h3 class="box-title">Change Password</h3> | ||
</div> | ||
<!-- /.box-header --> | ||
<!-- form start --> | ||
<form role="form" action="{{route('admin.account.changepassword')}}" method="POST"> | ||
{{csrf_field()}} | ||
<div class="box-body"> | ||
<div class="form-group"> | ||
<label for="current_password">Current Password</label> | ||
<input class="form-control" autocomplete="off" name="current_password" id="current_password" type="password" required> | ||
</div> | ||
<div class="form-group"> | ||
<label for="new_password">New Password</label> | ||
<input class="form-control" name="new_password" id="new_password" type="password" required> | ||
</div> | ||
<div class="form-group"> | ||
<label for="new_password_repeat">New Password Repeat</label> | ||
<input class="form-control" name="new_password_repeat" id="new_password_repeat" type="password" required> | ||
</div> | ||
|
||
|
||
</div> | ||
<!-- /.box-body --> | ||
|
||
<div class="box-footer"> | ||
<button type="submit" class="btn btn-primary">Create</button> | ||
</div> | ||
</form> | ||
</div> | ||
<!-- /.box --> | ||
</div> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters