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 Twig;
|
||||
use Validator;
|
||||
use Request as Rq;
|
||||
|
||||
/**
|
||||
* Class AuthController
|
||||
@@ -22,18 +23,17 @@ class AuthController extends Controller
|
||||
{
|
||||
use AuthenticatesAndRegistersUsers, ThrottlesLogins;
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| 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?
|
||||
|
|
||||
/**
|
||||
* Show the application registration form.
|
||||
*
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function getRegister()
|
||||
{
|
||||
$host = Rq::getHttpHost();
|
||||
|
||||
return view('auth.register', compact('host'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle a login request to the application.
|
||||
|
@@ -16,3 +16,4 @@
|
||||
.login-box {width:600px;}
|
||||
.login-logo {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">
|
||||
<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') }}">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
|
Reference in New Issue
Block a user