mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-24 01:03:46 +02:00
Update to Laravel 5.3
[BREAKING] — REMOVES REMOTE API A new API will need to be implemented properly using the new Laravel Passport OAuth2 system. DingoAPI was becoming too unstable and development wasn’t really moving along enough to continue to rely on it.
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
|
||||
@section('content')
|
||||
<div class="col-md-8">
|
||||
<form action="/auth/password" method="POST">
|
||||
<form action="{{ url('/auth/password') }}" method="POST">
|
||||
<legend>{{ trans('auth.resetpassword') }}</legend>
|
||||
<fieldset>
|
||||
@if (session('status'))
|
||||
@@ -39,10 +39,15 @@
|
||||
<strong>{{ trans('strings.success') }}!</strong> {{ trans('auth.emailsent') }}
|
||||
</div>
|
||||
@endif
|
||||
<div class="form-group">
|
||||
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
|
||||
<label for="email" class="control-label">{{ trans('strings.email') }}</label>
|
||||
<div>
|
||||
<input type="text" class="form-control" name="email" id="email" value="{{ old('email') }}" placeholder="{{ trans('strings.email') }}" />
|
||||
@if ($errors->has('email'))
|
||||
<span class="help-block">
|
||||
<strong>{{ $errors->first('email') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
@@ -31,26 +31,41 @@
|
||||
|
||||
@section('content')
|
||||
<div class="col-md-8">
|
||||
<form action="/auth/password/reset" method="POST">
|
||||
<form action="{{ url('/auth/password/reset') }}" method="POST">
|
||||
<legend>{{ trans('auth.resetpassword') }}</legend>
|
||||
<fieldset>
|
||||
<input type="hidden" name="token" value="{{ $token }}">
|
||||
<div class="form-group">
|
||||
<label for="email" class="control-label">{{ trans('strings.email') }}</label>
|
||||
<div>
|
||||
<input type="text" class="form-control" name="email" id="email" value="{{ old('email') }}" placeholder="{{ trans('strings.email') }}" />
|
||||
<input type="text" class="form-control" name="email" id="email" value="{{ $email or old('email') }}" required autofocus placeholder="{{ trans('strings.email') }}" />
|
||||
@if ($errors->has('email'))
|
||||
<span class="help-block">
|
||||
<strong>{{ $errors->first('email') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password" class="control-label">{{ trans('strings.password') }}</label>
|
||||
<div>
|
||||
<input type="password" class="form-control" name="password" id="password" placeholder="{{ trans('strings.password') }}" />
|
||||
<input type="password" class="form-control" name="password" id="password" required placeholder="{{ trans('strings.password') }}" />
|
||||
@if ($errors->has('password'))
|
||||
<span class="help-block">
|
||||
<strong>{{ $errors->first('password') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password_confirmation" class="control-label">{{ trans('auth.confirmpassword') }}</label>
|
||||
<div>
|
||||
<input type="password" class="form-control" id="password_confirmation" name="password_confirmation" />
|
||||
<input type="password" class="form-control" id="password_confirmation" required name="password_confirmation" />
|
||||
@if ($errors->has('password_confirmation'))
|
||||
<span class="help-block">
|
||||
<strong>{{ $errors->first('password_confirmation') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
Reference in New Issue
Block a user