mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
CSS and invalid account warning.
This commit is contained in:
@@ -12,6 +12,7 @@ use Mail;
|
|||||||
use Session;
|
use Session;
|
||||||
use Twig;
|
use Twig;
|
||||||
use Validator;
|
use Validator;
|
||||||
|
use Request as Rq;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class AuthController
|
* Class AuthController
|
||||||
@@ -22,18 +23,17 @@ class AuthController extends Controller
|
|||||||
{
|
{
|
||||||
use AuthenticatesAndRegistersUsers, ThrottlesLogins;
|
use AuthenticatesAndRegistersUsers, ThrottlesLogins;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show the application registration form.
|
||||||
|
*
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function getRegister()
|
||||||
|
{
|
||||||
|
$host = Rq::getHttpHost();
|
||||||
|
|
||||||
/*
|
return view('auth.register', compact('host'));
|
||||||
|--------------------------------------------------------------------------
|
}
|
||||||
| Registration & Login Controller
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| This controller handles the registration of new users, as well as the
|
|
||||||
| authentication of existing users. By default, this controller uses
|
|
||||||
| a simple trait to add these behaviors. Why don't you explore it?
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handle a login request to the application.
|
* Handle a login request to the application.
|
||||||
|
@@ -15,4 +15,5 @@
|
|||||||
/* fix login box */
|
/* fix login box */
|
||||||
.login-box {width:600px;}
|
.login-box {width:600px;}
|
||||||
.login-logo {width:360px;margin-left:110px;}
|
.login-logo {width:360px;margin-left:110px;}
|
||||||
.login-box-body {width:360px;margin-left:110px;}
|
.login-box-body {width:360px;margin-left:110px;}
|
||||||
|
.register-box-body {width:360px;margin-left:110px;}
|
@@ -17,6 +17,10 @@
|
|||||||
|
|
||||||
<div class="register-box-body">
|
<div class="register-box-body">
|
||||||
<p class="login-box-msg">Register a new account</p>
|
<p class="login-box-msg">Register a new account</p>
|
||||||
|
{% if host == 'geld.nder.be' %}
|
||||||
|
<p class="text-info login-box-msg">Please note that an account on this site will only
|
||||||
|
work for one (1) week.</p>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<form role="form" id="register" method="POST" action="{{ URL.to('/auth/register') }}">
|
<form role="form" id="register" method="POST" action="{{ URL.to('/auth/register') }}">
|
||||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||||
|
Reference in New Issue
Block a user