1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-11-27 03:46:54 +00:00

add email for registration, set migration

This commit is contained in:
devfake 2015-06-23 14:13:27 +02:00
parent 750914882a
commit 01f54264e7
4 changed files with 7 additions and 2 deletions

View File

@ -13,6 +13,7 @@
<form class="form-session">
<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">
<div class="wrap-btn-action btn-register-action">

View File

@ -22,6 +22,10 @@
width: 220px;
@include secondGradient();
.container-form-landing & {
width: 170px;
}
}
.wrap-btn-action {

View File

@ -13,7 +13,7 @@ body.landing {
}
.wrap-landing {
max-width: 900px;
max-width: 1000px;
margin: 0 auto;
}

View File

@ -14,7 +14,7 @@ class CreateUsersTable extends Migration
{
Schema::create('users', function (Blueprint $table) {
$table->increments('id');
$table->string('name');
$table->string('username')->unique();
$table->string('email')->unique();
$table->string('password', 60);
$table->rememberToken();