Skip to content

Commit

Permalink
added link to name
Browse files Browse the repository at this point in the history
  • Loading branch information
sawirricardo committed May 19, 2021
1 parent 937498f commit 0ea6a2e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions app/Http/Livewire/App/Register.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace App\Http\Livewire\App;

use Illuminate\Support\Facades\Auth;
use Illuminate\Validation\Rules\Password;
use Livewire\Component;

Expand Down Expand Up @@ -49,5 +50,9 @@ public function register()
$user->email = $this->credentials['email'];

$user->save();

Auth::loginUsingId($user->id);

return redirect()->route('front.index');
}
}
4 changes: 3 additions & 1 deletion resources/views/livewire/front/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
<div class="container">
<h1 class="logo-font">conduit X Ricardo Sawir</h1>
<p>A place to share your knowledge.</p>
<p>Implemented by Ricardo Sawir</p>
<p>Implemented by <a style="color:white;text-decoration:underline" target="_blank"
href="https://github.com/sawirricardo">Ricardo
Sawir</a></p>
</div>
</div>

Expand Down

0 comments on commit 0ea6a2e

Please sign in to comment.