Hide Forgot Password because of not ready yet

This commit is contained in:
Supan Adit Pratama 2020-06-28 12:21:44 +07:00
parent 405a1ee7fa
commit 82a80fc1ef
3 changed files with 37 additions and 10 deletions

View File

@ -0,0 +1,33 @@
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
class ForgotPassword extends Mailable
{
use Queueable, SerializesModels;
/**
* Create a new message instance.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Build the message.
*
* @return $this
*/
public function build()
{
return $this->view('view.name');
}
}

View File

@ -51,7 +51,8 @@
</div>
<div class="row">
<div class="col-xs-8">
Version 1.0.0
Version 1.0.0<br/>
<a href="/register" class="text-center">Create account</a>
</div>
<!-- /.col -->
<div class="col-xs-4">
@ -60,14 +61,7 @@
<!-- /.col -->
</div>
</form>
<div class="social-auth-links text-center">
<p>- OR -</p>
</div>
<!-- /.social-auth-links -->
<a href="/forgot/password">Forgot Password</a><br>
<a href="/register" class="text-center">Register</a>
{{-- <a href="/forgot/password">Forgot Password</a><br>--}}
</div>
<!-- /.login-box-body -->
</div>

View File

@ -15,7 +15,7 @@ use Illuminate\Support\Facades\Route;
Route::get('/', "SecurityController@initSystem");
Route::get('/login', "SecurityController@viewLogin")->name('login');
Route::get('/forgot/password', "SecurityController@viewForgotPassword");
//Route::get('/forgot/password', "SecurityController@viewForgotPassword");
Route::get('/register', "SecurityController@viewRegister");
Route::middleware('auth.web')->group(function () {