1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

Laravel 5.3 upgrade (#189)

* Started move to laravel 5.3

* Started updating login & registration flows for laravel 5.3 update

* Updated app emails to notification system

* Fixed registations bugs and removed email confirmation model

* Fixed large portion of laravel post-upgrade issues

* Fixed and tested LDAP process
This commit is contained in:
Dan Brown
2016-09-17 18:22:04 +01:00
committed by GitHub
parent 393f6047f2
commit 9dc9724e15
44 changed files with 1799 additions and 1110 deletions

View File

@ -0,0 +1,27 @@
@extends('public')
@section('content')
<div class="text-center">
<div class="center-box text-left">
<h1>Reset Password</h1>
<p class="muted small">Enter your email below and you will be sent an email with a password reset link.</p>
<form action="{{ baseUrl("/password/email") }}" method="POST">
{!! csrf_field() !!}
<div class="form-group">
<label for="email">Email</label>
@include('form/text', ['name' => 'email'])
</div>
<div class="from-group">
<button class="button block pos">Send Reset Link</button>
</div>
</form>
</div>
</div>
@stop

View File

@ -0,0 +1,38 @@
@extends('public')
@section('body-class', 'image-cover login')
@section('content')
<div class="text-center">
<div class="center-box text-left">
<h1>Reset Password</h1>
<form action="{{ baseUrl("/password/reset") }}" method="POST">
{!! csrf_field() !!}
<input type="hidden" name="token" value="{{ $token }}">
<div class="form-group">
<label for="email">Email</label>
@include('form/text', ['name' => 'email'])
</div>
<div class="form-group">
<label for="password">Password</label>
@include('form/password', ['name' => 'password'])
</div>
<div class="form-group">
<label for="password_confirmation">Confirm Password</label>
@include('form/password', ['name' => 'password_confirmation'])
</div>
<div class="from-group">
<button class="button block pos">Reset Password</button>
</div>
</form>
</div>
</div>
@stop