PW-reminder

This commit is contained in:
2013-11-18 18:13:52 +01:00
parent 114e658b7b
commit 41f27fbddb
2 changed files with 37 additions and 1 deletions

View File

@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
class CreatePasswordRemindersTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('password_reminders', function($t)
{
$t->string('email');
$t->string('token');
$t->timestamp('created_at');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('password_reminders');
}
}

View File

@@ -39,6 +39,10 @@
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Email ändern</h2></div>
<div class="panel-body">
<dl class="dl-horizontal">
<dt>Aktuelle Email</dt>
<dd>{{Auth::user()->email}}</dd>
</dl>
{{ Form::open(array('url' => 'settings/email')) }}
<div class="input-group form-group <?php if($errors->has('pw')) echo "has-error" ?>">
<span class="input-group-addon">
@@ -69,4 +73,4 @@
@section('title')
Einstellungen ~
@stop
@stop