PW-reminder
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
}
|
@@ -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
|
||||
|
Reference in New Issue
Block a user