mirror of
https://github.com/exane/not-gwent-online
synced 2024-10-31 10:36:53 +00:00
add email for registration, set migration
This commit is contained in:
parent
750914882a
commit
01f54264e7
@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
<form class="form-session">
|
<form class="form-session">
|
||||||
<input type="text" placeholder="Username" class="field-session" autofocus>
|
<input type="text" placeholder="Username" class="field-session" autofocus>
|
||||||
|
<input type="text" placeholder="E-Mail" class="field-session">
|
||||||
<input type="password" placeholder="Password" class="field-session">
|
<input type="password" placeholder="Password" class="field-session">
|
||||||
|
|
||||||
<div class="wrap-btn-action btn-register-action">
|
<div class="wrap-btn-action btn-register-action">
|
||||||
|
@ -22,6 +22,10 @@
|
|||||||
width: 220px;
|
width: 220px;
|
||||||
|
|
||||||
@include secondGradient();
|
@include secondGradient();
|
||||||
|
|
||||||
|
.container-form-landing & {
|
||||||
|
width: 170px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.wrap-btn-action {
|
.wrap-btn-action {
|
||||||
|
@ -13,7 +13,7 @@ body.landing {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.wrap-landing {
|
.wrap-landing {
|
||||||
max-width: 900px;
|
max-width: 1000px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ class CreateUsersTable extends Migration
|
|||||||
{
|
{
|
||||||
Schema::create('users', function (Blueprint $table) {
|
Schema::create('users', function (Blueprint $table) {
|
||||||
$table->increments('id');
|
$table->increments('id');
|
||||||
$table->string('name');
|
$table->string('username')->unique();
|
||||||
$table->string('email')->unique();
|
$table->string('email')->unique();
|
||||||
$table->string('password', 60);
|
$table->string('password', 60);
|
||||||
$table->rememberToken();
|
$table->rememberToken();
|
||||||
|
Loading…
Reference in New Issue
Block a user