D
D
denis_213213212020-04-20 14:39:13
Laravel
denis_21321321, 2020-04-20 14:39:13

The home template returns Name after login or registration, where does it get it from?

I'm just getting into authentication, I can't understand one thing.
When registering, it shows the name using the home template, where does it insert the name here? How, for example, after registration, display email instead of a name?
In the LoginController, too, nothing passes
Or, if you can, throw off the documentation article on this topic.

Home.blade.php

@extends('layouts.app')

@section('content')
<div class="container">
    <div class="row justify-content-center">
        <div class="col-md-8">
            <div class="card">
                <div class="card-header">Dashboard</div>

                <div class="card-body">
                    @if (session('status'))
                        <div class="alert alert-success" role="alert">
                            {{ session('status') }}
                        </div>
                    @endif

                    You are logged in!
                </div>
            </div>
        </div>
    </div>
</div>
@endsection

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question