0
我試圖讓登錄,並在我的laravel網站上註冊工作onlie,我一直使用的laravel化妝權威性,它的工作在本地主機非常好,但是當我上傳它,它的不是。它不會讀取認證名稱或任何東西,只是它是regsiter新用戶,但不能登錄或顯示錯誤消息或任何內容。登錄身份驗證並沒有laravel
我需要幫助嗎?這裏是我的註冊刀片
@extends('layouts.app')
@section('content')
<!-- Modal Signup -->
<div class="modal fade style-base-modal" id="modal-signup" tabindex="-1" role="dialog" aria-hidden="true" aria-labelledby="modalSignupLabel">
<div class="modal-dialog">
<div class="modal-content">
<div class="inner-container clearfix">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">
<i class="fa fa-times"></i>
</span>
</button>
<h4 class="modal-title email-icon" id="modalSignupLabel">@lang('messages.Create-your-Account')</h4>
</div>
<div class="modal-body clearfix">
<div class="col-md-7 no-padding">
<form accept-charset="UTF-8" class="form-style-base" role="form" method="POST" action="{{ url('/register') }}">
{{ csrf_field() }}
<div class="form-group no-bottom-border no-padding form-group-style-sign {{ $errors->has('name') ? ' has-error' : '' }}">
<input type="text" class="form-control input-lg form-control-style-sign" placeholder="@lang('messages.UserName')" name="name" value="{{ old('name') }}"/>
@if ($errors->has('name'))
<span class="help-block">
<strong>{{ $errors->first('name') }}</strong>
</span>
@endif
</div>
<div class="form-group no-bottom-border no-padding form-group-style-sign {{ $errors->has('email') ? ' has-error' : '' }}">
<input type="email" class="form-control input-lg form-control-style-sign" placeholder="@lang('messages.Email')" name="email" value="{{ old('email') }}" />
@if ($errors->has('email'))
<span class="help-block">
<strong>{{ $errors->first('email') }}</strong>
</span>
@endif
</div>
<div class="form-group no-bottom-border no-padding form-group-style-sign {{ $errors->has('password') ? ' has-error' : '' }}">
<input type="password" class="form-control input-lg form-control-style-sign" placeholder="@lang('messages.Password')" name="password">
@if ($errors->has('password'))
<span class="help-block">
<strong>{{ $errors->first('password') }}</strong>
</span>
@endif
</div>
<div class="form-group no-bottom-border no-padding form-group-style-sign {{ $errors->has('password_confirmation') ? ' has-error' : '' }}">
<input type="password" class="form-control input-lg form-control-style-sign" placeholder="@lang('messages.Re-password')" name="password_confirmation">
@if ($errors->has('password_confirmation'))
<span class="help-block">
<strong>{{ $errors->first('password_confirmation') }}</strong>
</span>
@endif
</div>
<div class="required-fields text-right spacer-bottom-5">
*@lang('messages.Required-fields')
</div>
<div>
<!-- <div class="checkbox">
<label class="btn-link small">
<input type="checkbox" name="Iscriviti" value="1" /> Subscribe to the newsletter
</label>
</div>-->
<!-- <div class="checkbox">
<label class="btn-link small">
<input type="checkbox" name="privacy" value="1" /> I agree to the policies of the <a class="btn-link" href="#">privacy</a>
</label>
</div> -->
</div>
<div>
<button type="submit" class="btn btn-warning btn-lg btn-block">
<i class="fa fa-user"></i> @lang('messages.create-account')
</button>
</div>
<!--<p class="text-center small no-margin">
<label class="member-label">Already are you member? </label><a class="btn-link" href="signin.html">Sign in</a>
</p>-->
</form> </div>
<div class="col-md-5 spacer-30">
<div class="text-center">
<h4 class="no-margin-top social-sign">
@lang('messages.socialnetwork')<br>@lang('messages.accountSignin')
</h4>
<div class="socials btn-group clearfix">
<a class="btn-social btn-facebook " href="redirect"> <i class="fa fa-facebook fa-1x"></i> </a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- end sign up -->
@endsection
不,我沒有發現任何錯誤 –