autb login fix

This commit is contained in:
Felipe Mateus 2024-05-19 19:42:17 -03:00
parent a04e33646e
commit 9f4cb21592
No known key found for this signature in database
GPG key ID: 94D494618F214123

View file

@ -7,7 +7,7 @@
<div class="card shadow-none border">
<div class="card-header bg-transparent p-3">
<h4 class="font-weight-bold mb-0 text-center">
{{ __('auth.login') }}
{{ __('auth.loginTitle') }}
</h4>
</div>
@ -25,7 +25,7 @@
<div class="form-group row mb-0">
<div class="col-md-12">
<label for="email" class="small font-weight-bold text-muted mb-0">{{ __("auth.emailAddress") }}</label>
<label for="email" class="small font-weight-bold text-muted mb-0">{{__("auth.emailAddress")}}</label>
<input id="email" type="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ old('email') }}" placeholder="{{__('Email')}}" required autofocus>
@if ($errors->has('email'))
@ -45,7 +45,7 @@
<div class="form-group row mb-0">
<div class="col-md-12">
<label for="password" class="small font-weight-bold text-muted mb-0">{{__('auth.password')}}</label>
<label for="password" class="small font-weight-bold text-muted mb-0">{{ __("auth.password")}}</label>
<input id="password" type="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" name="password" placeholder="{{__('Password')}}" required>
@if ($errors->has('password'))
@ -56,7 +56,7 @@
<p class="help-text small text-right mb-0">
<a href="{{ route('password.request') }}" class="small text-muted font-weight-bold">
{{ __('Forgot Password') }}
{{ __('auth.forgot') }}
</a>
</p>
</div>
@ -89,15 +89,10 @@
</div>
@endif
<div class="form-group row mb-4">
<div class="col-md-12">
<button type="submit" class="btn btn-primary btn-block btn-lg font-weight-bold">
<button type="submit" class="btn btn-primary btn-block btn-lg font-weight-bold rounded-pill">
{{ __('auth.login') }}
</button>
</div>
</div>
</form>
@if(
(config_cache('pixelfed.open_registration') && config('remote-auth.mastodon.enabled')) ||
@ -109,7 +104,7 @@
<div class="form-group row mb-0">
<div class="col-md-12">
<button type="submit" class="btn btn-primary btn-sm btn-block rounded-pill font-weight-bold" style="background: linear-gradient(#6364FF, #563ACC);">
{{ __('auth.signInMastodon') }}
{{__("auth.signInMastodon")}}
</button>
</div>
</div>
@ -120,12 +115,7 @@
<hr>
<p class="text-center font-weight-bold mb-0">
<a href="/register">Register</a>
<span class="px-1">·</span>
@endif
<a href="{{ route('password.request') }}">
{{ __('auth.forgot') }}
</a>
<a href="/register">{{ __("auth.register")}}</a>
</p>
@endif
</div>