modified: SRC/app/Http/Controllers/LoginController.php
modified: SRC/app/Http/routes.php modified: SRC/resources/views/auth/register.blade.php modified: SRC/resources/views/auth/reset.blade.php
This commit is contained in:
parent
fddfc69616
commit
2b1529105b
@ -480,3 +480,16 @@ ls
|
||||
python loader
|
||||
python loader.py
|
||||
python loader.py
|
||||
ls
|
||||
git status
|
||||
git pull
|
||||
git pull
|
||||
nano SRC/config/mail.php
|
||||
git commit -a
|
||||
git push
|
||||
ls
|
||||
ls
|
||||
ls
|
||||
nano SRC/config/mail.php
|
||||
nano .env
|
||||
nano SRC/.env
|
||||
|
@ -89,7 +89,7 @@ class LoginController extends Controller {
|
||||
return View::make('auth.reset')->with('token', $token);
|
||||
}
|
||||
|
||||
public function update($token)
|
||||
public function update()
|
||||
{
|
||||
$credentials = Input::only('email', 'password','password_confirmation','token');
|
||||
$response = Password::reset($credentials, function($user, $password)
|
||||
|
@ -24,7 +24,7 @@ Route::get('password/reset/{token}', array(
|
||||
'uses' => 'LoginController@reset',
|
||||
'as' => 'password.reset'
|
||||
));
|
||||
Route::post('password/reset/{token}', array(
|
||||
Route::post('password/reset', array(
|
||||
'uses' => 'LoginController@update',
|
||||
'as' => 'password.update'
|
||||
));
|
||||
|
@ -18,7 +18,7 @@
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<form class="form-horizontal" role="form" method="POST" action="/auth/register">
|
||||
<form class="form-horizontal" role="form" method="POST" action="/password/reset">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
|
||||
<div class="form-group">
|
||||
|
@ -1,4 +1,4 @@
|
||||
@extends('app')
|
||||
@extends('backend/template')
|
||||
@section('content')
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
|
Reference in New Issue
Block a user