Code Monkey home page Code Monkey logo

jeremykenedy / laravel-auth Goto Github PK

View Code? Open in Web Editor NEW
3.0K 192.0 993.0 11.58 MB

Laravel 10 with user authentication, registration with email confirmation, social media authentication, password recovery, and captcha protection. Uses offical [Bootstrap 4](http://getbootstrap.com). This also makes full use of Controllers for the routes, templates for the views, and makes use of middleware for routing. 5 Minutes Stand-up time.

Home Page: https://laravel-auth.com/

License: MIT License

PHP 14.94% Vue 0.09% Shell 0.06% Blade 11.45% JavaScript 55.93% CSS 14.12% SCSS 3.43%
laravel socialite socialite-logins social-authentication registration laravel-framework user-profile authentication two-step-authentication gravatar-api

laravel-auth's People

Contributors

4uforever avatar ajitdas123 avatar allcontributors[bot] avatar andrec10002 avatar blinkofaneye avatar chrispappas avatar col-papaavola avatar cotiga avatar dependabot[bot] avatar dircm avatar evnix avatar hussamel-hwary avatar imgbotapp avatar ivan-cc avatar jeremykenedy avatar kentdahl avatar laravel-shift avatar lorenzosapora avatar matteocostantini avatar maxdestors avatar migueltarga avatar mmonbr avatar rgasch avatar rubicon-international avatar safly avatar sambego avatar scrutinizer-auto-fixer avatar stylecibot avatar terzinnorbert avatar vortixdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laravel-auth's Issues

Invalid text representation when IP can not be identified

Under some circumstances the IP can not be found and in this case the IP 'UNKNOWN' is returned. This value causes an exception, see below.

I got this error when running a fresh install using php artisan serve and accessing the site from the same host.

./storage/logs/laravel.log:1480:Next Illuminate\Database\QueryException: SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for type inet: "UNKNOWN" (SQL: update "users" set "activated" = 1, "signup_confirmation_ip_address" = UNKNOWN, "updated_at" = 2017-03-31 03:04:56 where "id" = 7) in /home/username/code/laravel/laravel-auth/vendor/laravel/framework/src/Illuminate/Database/Connection.php:647

$ipAddress->getClientIp() and $this->ipAddress() returns 'UNKNOWN'.

This problem exists in the DatabaseSessionHandler.php, ActivtionRepository.php, RegisterController.php and ActivateController.php files.

Token mismatch on registration as well as login

I installed laravel-auth, migrated and seeded (using laravel 5.4.27 and mysql Ver 14.14 Distrib 5.6.21, for Win32 (x86))

when i tried to login, at first login looped back

then i created google+ sign in application and got credentials, changed my session_domain to http://localhost

next i tried to register via google+ but there arrived token mismatch error
after that token mismatch error occurred on registration as well as login

I tried deleting cookies, cleared cache but couldn't make it work

`

                {!! Form::open(['route' => 'register', 'class' => 'form-horizontal', 'role' => 'form', 'method' => 'POST'] ) !!}

                    {{ csrf_field() }}

                    <div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}">`

I var_dumped in middlewares and pipeline files but couldn't make it work....

Thank you in advance!!

localhost_8000_register.pdf

"View PHP info" puts a page within a page

The phpinfo() command generates a complete page - all elements needed, including html and body elements. The output of phpinfo() seems to have been just plonked into the middle of the page without regard for this. It needs to have its body content stripped out, and just that content put into the page. Or maybe open in a new window on its own, or perhaps in an auto-resizing iframe.

Being Picky typo in settings.php / CaptureIpTrait.php

(Apologies, I still have to figure out how to do pull requests from my environment).

Line 23 of settings.php is:

nullIpAddess

should really be:

nullIpAddress

(missing an "r")

Corresponding change on like 37 of CaptureIpTrait.php

Twitter Argument 1 passed to League error

I completed all the steps for the install and added my twitter details to the .env but when I try and login using twitter I get an error that reads

FatalThrowableError in Server.php line 146: Type error: Argument 1 passed to League\OAuth1\Client\Server\Server::getTokenCredentials() must be an instance of League\OAuth1\Client\Credentials\TemporaryCredentials, null given, called in $File_path_to_folder/vendor/laravel/socialite/src/One/AbstractProvider.php on line 87

not sure whats going on because when I look at the URL it looks like twitter is sending auth tokens back.

Potential security exploit

I came across your repo a few days ago and noticed a potential security exploit by allowing user's to login using the provided email address from the social network.

See line 189: https://github.com/jeremykenedy/laravel-auth/blob/master/app/Http/Controllers/Auth/AuthController.php#L189

Example: if this code was used on a site that I knew [email protected] was an administrator of but didn't have an account on, let's say Facebook. I could then register an account on Facebook using the email address [email protected], come back to the site where [email protected] is an admin and login using the Facebook option and then gain access to the admin section of the site.

From my experience it's a better idea to just login using the given user's social network ID and the network name itself (facebook, twitter, github, ...). If you with to allow users to add other social network accounts, then there should be somewhere in the settings to do so.

registration form error?

when i register say that "Failed to authenticate on SMTP server with username "[email protected]" using 3 possible authenticators"

am used the version before this and work fine for me i'am created the app password and all configuration i think it's goes right MAIL_DRIVER=smtp MAIL_HOST=mailtrap.io MAIL_PORT=465 [email protected] MAIL_PASSWORD=secret MAIL_ENCRYPTION=tls

so why this error occur ?

How can check permission in controller

I'm very sorry but can you give me file controller demo? I'm newbie with Laravel framework, i had read some topic about authoriation and your source and your package(laravel-roles), but i can't find excatly what i need to do in code? Example in my TestController, i add new rows 'test.index' to table 'permissions' and 'permissions_role' but how code will check it in controller?

Undefined variable: getAdminHomeRoute

If you are logged in as an admin and go to the /exceeded route, you get an undefined variable message.

ErrorException in ActivateController.php line 70:
Undefined variable: getAdminHomeRoute
in ActivateController.php line 70
at HandleExceptions->handleError(8, 'Undefined variable: getAdminHomeRoute', '/sites/starter/app/Http/Controllers/Auth/ActivateController.php', 70, array('user' => object(User), 'currentRoute' => 'exceeded')) in ActivateController.php line 70
at ActivateController::activeRedirect(object(User), 'exceeded') in ActivateController.php line 266
at ActivateController->exceeded()
at call_user_func_array(array(object(ActivateController), 'exceeded'), array()) in Controller.php line 55
at Controller->callAction('exceeded', array()) in ControllerDispatcher.php line 44
at ControllerDispatcher->dispatch(object(Route), object(ActivateController), 'exceeded') in Route.php line 203

Replacing line 70 in ActivateController.php with the following line fixes it:

                return redirect()->route(self::getAdminHomeRoute())

(Similar to the route statement on line 75 below it, for a non admin user.)

Error Exception in show-user.blade.php

Also when I go into admin/ show a particular user it shows error below

Did i configure the app all okay .. sorry I am a bit new to laravel so maybe I am missing something

thanks for your assistance
Regards
Sergiu

screen shot 2017-04-21 at 14 39 28

Class 'Webpatser\Uuid\Uuid' not found

Hi, Whoops! There was an error when delete an user /profile/***/deleteUserAccount

Class 'Webpatser\Uuid\Uuid' not found

app/Http/Controllers/ProfilesController.php350

$level2 = urlencode(Uuid::generate(4).$sepKey.$level1);

Should I install webpatser manually ? Tks

Another Laravel version

Hi Jeremy,

Can I use this with Laravel 5.3/5.4? I already seen your another laraver-user but there's no role and permission management.

Thank you!

Controller don't have permission but can access

Hi, i'm thank about your source. But i try to test it, i create controller with name TestController and have content in below. I add route but user [email protected] can view but it doesn't have permission

Route::group(['middleware' => ['auth', 'activated']], function () { Route::get('/test', [ 'as' => 'test.index', 'uses' => 'TestController@index', ]); }

`<?php

namespace App\Http\Controllers;

use Auth;

class TestController extends Controller { /**

  • Create a new controller instance.
  • @return void */ public function __construct() { $this->middleware('auth'); }

    /**

  • Show the application dashboard.
  • @return \Illuminate\Http\Response */ public function index() { echo 'fdfdf'; } } `

login and register not found

Hi, I'm newbie laravel and interesting laravel for user manage.

I can't access Login and Register menu when i click are show 404 Not Found

Then i check route on routes/wep.php but haven't /register or /login.

Please help.

Thank you.

Image Issue

Image not showing after upload: code not modified

PriflesController.php

` /**

  • Upload and Update user avatar.
  • @param $file
  • @return mixed */ public function upload() { if (Input::hasFile('file')) { $currentUser = \Auth::user(); $avatar = Input::file('file'); $filename = 'avatar.'.$avatar->getClientOriginalExtension(); $save_path = storage_path().'/users/id/'.$currentUser->id.'/uploads/images/avatar/'; $path = $save_path.$filename; $public_path = '/images/profile/'.$currentUser->id.'/avatar/'.$filename;

        // Make the user a folder and set permissions
        File::makeDirectory($save_path, $mode = 0755, true, true);
    
    // Save the file to the server
    Image::make($avatar)-&gt;resize(300, 300)-&gt;save($save_path.$filename);
    
    // Save the public image path
    $currentUser-&gt;profile-&gt;avatar = $public_path;
    $currentUser-&gt;profile-&gt;save();
    
    return response()-&gt;json(['path'=&gt; $path], 200);
    

    } else {
    return response()->json(false, 200);
    }

    }

    /**

  • Show user avatar.
  • @param $id
  • @param $image
  • @return string */ public function userProfileAvatar($id, $image) { return Image::make(storage_path().'/users/id/'.$id.'/uploads/images/avatar/'.$image)->response(); }`

web.php (route) `// Registered, activated, and is current user routes. Route::group(['middleware'=> ['auth', 'activated', 'currentUser']], function () {

// User Profile and Account Routes
Route::resource(
    'profile',
    'ProfilesController', [
        'only'  => [
            'show',
            'edit',
            'update',
            'create',
        ],
    ]
);
Route::put('profile/{username}/updateUserAccount', [
    'as'        => '{username}',
    'uses'      => 'ProfilesController@updateUserAccount',
]);
Route::put('profile/{username}/updateUserPassword', [
    'as'        => '{username}',
    'uses'      => 'ProfilesController@updateUserPassword',
]);
Route::delete('profile/{username}/deleteUserAccount', [
    'as'        => '{username}',
    'uses'      => 'ProfilesController@deleteUserAccount',
]);

// Route to show user avatar
Route::get('images/profile/{id}/avatar/{image}', [
'uses' => 'ProfilesController@userProfileAvatar',
]);

// Route to upload user avatar.
Route::post('avatar/upload', ['as' => 'avatar.upload', 'uses' => 'ProfilesController@upload']);

});`

File is present at:

ls -alth total 24K -rwxr-xr-x 1 www www 16K Oct 6 18:14 avatar.jpg drwxr-xr-x 2 www www 512 Oct 2 13:37 . drwxr-xr-x 3 www www 512 Oct 2 13:37 .. <root@test-server :/usr/local/www/test-site.com/test.v210/storage/users/id/1/uploads/images/avatar> #

do i need to symlink or create the image folder in public ?

Composer standalone package

Do you have any way to install this awesome package on a different laravel installation without using the laravel you used?

Social Login, user doesn't allow email, can't continue.

Currently, if i try and log in or register via Facebook (only one i've tested so far) and decide not to share my email address with the site, Gravatar squawks at me instantly and I cannot view anything because the email address is an incorrect format for Gravatar.

"Please specify a valid email address (View: /Users/noreason/code/laravel-auth/resources/views/profiles/show.blade.php)"

in

/Users/noreason/code/laravel-auth/vendor/creativeorange/gravatar/src/Gravatar.php

The email address generated for this specific login was

missingb2IlmgQkPW

I can solve the issue with workarounds, but I was just wondering if I am missing something somewhere?

Error in composer update

Hi
i have a problem
after run "composer update" , I see this error :
composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
> Illuminate\Foundation\ComposerScripts::postUpdate
> php artisan optimize
Script php artisan optimize handling the post-update-cmd event returned with error code 255
and when i run artisan command nothing happens

thanks guys
vahid rezazadeh

Improving PermissionsTableSeeder.php

Hi @jeremykenedy - Would it be possible for you to review how the databases and in particular permissions are seeded? Right now, we have the following code which seeds the initial database.

        if (Permission::where('name', '=', 'Can View Users')->first() === null) {
            Permission::create([
                'name' => 'Can View Users',
                'slug' => 'view.users',
                'description' => 'Can view users',
                'model' => 'Permission',
            ]);
        }

Am never too keen to seed based on translatable strings, not very future proof and could result in errors.

I think the more appropriate way might be to use the slug as that remains a constant through the code and not an editable entity.

        if (Permission::where('slug', '=', 'view.users')->first() === null) {
            Permission::create([
                'name' => 'Can View Users',
                'slug' => 'view.users',
                'description' => 'Can view users',
                'model' => 'Permission',
            ]);
        }

Thanks for your time and energy in creating this starter. :)

Issue logging in using youtube

First of all great package, My issue is that I tried logging in via youtube. It goes through to google then gets the account but when returning back I get an error that reads

FatalErrorException in Provider.php line 77: Call to undefined method SocialiteProviders\YouTube\Provider::getAccessToken()

Talking to the guys over at draper studio who manage the socialite providers package. I believe this is due to using an older package. See https://github.com/SocialiteProviders/YouTube/issues/5.

activation by email , query error

i am getting this error when i press on activate account in the email sended to me , !

SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (admin_multiauth.profiles, CONSTRAINT profiles_theme_id_foreign FOREIGN KEY (theme_id) REFERENCES themes (id)) (SQL: insert into profiles (user_id, updated_at, created_at) values (2, 2017-10-07 15:26:00, 2017-10-07 15:26:00))

Theme index not error

getting Error on localhost/themes

Whoops, looks like something went wrong. 2/2 ErrorException in 0d7da4803c3fadc8dc0a815b1ea3db0e7dbc9c47.php line 75: Trying to get property of non-object (View: /laravel-auth/resources/views/themesmanagement/show-themes.blade.php)

Login without using email

Hello, I want to customize login page, I want to use custom attribute instead of email.

I changed something like this in views/auth/login:

<div class="form-group has-feedback">
                            {!! Form::label('ktp', Lang::get('auth.ktp') , array('class' => 'col-sm-4 control-label')); !!}
                            <div class="col-sm-6">
                                {!! Form::text('ktp', null, array('id' => 'ktp', 'class' => 'form-control', 'placeholder' => Lang::get('auth.ph_ktp'), 'required' => 'required',)) !!}
                                <span class="glyphicon glyphicon-envelope form-control-feedback" aria-hidden="true"></span>
                            </div>
                        </div>

And I always got:

Whoops! There were some problems with your input.

The email field is required. Password Troubles?

How to customize it?

Problem

Hi I did a git clone with all the steps followed.

Currently stuck with this problem:

Expected response code 250 but got code "530", with message "530 5.7.1 Authentication required "

Connection could not be established with host smtp.mailtrap.io [Connection refused #111]

Email activation issue.

`

    if (isset($this->params['stream_context_options'])) {
        $options = array_merge($options, $this->params['stream_context_options']);
    }
    $streamContext = stream_context_create($options);
    $this->stream = @stream_socket_client($host.':'.$this->params['port'], $errno, $errstr, $timeout, STREAM_CLIENT_CONNECT, $streamContext);
    if (false === $this->stream) {
        throw new Swift_TransportException(
            'Connection could not be established with host '.$this->params['host'].
            ' ['.$errstr.' #'.$errno.']'
            );
    }
    if (!empty($this->params['blocking'])) {
        stream_set_blocking($this->stream, 1);
    } else {
        stream_set_blocking($this->stream, 0);
    }
    stream_set_timeout($this->stream, $timeout);
    $this->in = &$this->stream;
    $this->out = &$this->stream;
}

`

PHP Artisan Migrate issue

[Illuminate\Database\QueryException]
could not find driver (SQL: select * from information_schema.tables where table_sc
hema = laravelAuth and table_name = migrations)

[Doctrine\DBAL\Driver\PDOException]
could not find driver

[PDOException]
could not find driver

TOC Generator

There us a great TOC generator script here:

https://github.com/ekalinin/github-markdown-toc

It will scan the README and pull out all the headings and link to them, formatting them in a structured way. As documents get bigger and more complex, it saves tonnes of time. Running it also helps to see the structure of the document and makes it easier to reorganise sections.

Here is a project I use it on (probably my longest github README). That TOC is auto-generated from the content, with no manual tweaks:

https://github.com/academe/omnipay-payone#table-of-contents

Below is what the script gives for this project. Whoops - it's a bit random and even confuses the markdown parser, because that is how the markdown heading markers have been used. In my experience, if you get a decent TOC out of the script, then the README is structured well and heading levels are used appropriately. Remember, header levels define the structure of a document, and are not just there for formatting. The links below don't do anywhere, because they are relative to the page they are on, but ignore that for now.

If you want to try using it, I'd be happy to edit some of the title heading levels.


Table of Contents

        * [Laravel-Auth is a Complete Build of Laravel 5.4 with Email Registration Verification, Social Authentication, User Roles and Permissions, User Profiles, and Admin restricted user managment system.](#laravel-auth-is-a-complete-build-of-laravel-54-with-email-registration-verification-social-authentication-user-roles-and-permissions-user-profiles-and-admin-restricted-user-managment-system)
        * [READY FOR USE!](#ready-for-use)
     * [About](#about)
     * [Features](#features)
        * [A <a href="http://laravel.com/">Laravel</a> 5.4.x with minimal <a href="http://getbootstrap.com">Bootstrap</a> 3.7.x project.](#a-laravel-54x-with-minimal-bootstrap-37x-project)
     * [Installation Instructions](#installation-instructions)
        * [Rebuild Front End Assets with Mix](#rebuild-front-end-assets-with-mix)
              * [Rebuilding the front end of that project is OPTIONAL and can be done using Laravel <a href="https://laravel.com/docs/5.4/mix">Mix</a> which is Elixers replacment.](#rebuilding-the-front-end-of-that-project-is-optional-and-can-be-done-using-laravel-mix-which-is-elixers-replacment)
        * [Optionally Build Cache](#optionally-build-cache)
              * [And thats it with the caveat of setting up and configuring your development environemnt. I recommend <a href="https://laravel.com/docs/5.4/homestead">Laravel Homestead</a>](#and-thats-it-with-the-caveat-of-setting-up-and-configuring-your-development-environemnt-i-recommend-laravel-homestead)
     * [Seeds](#seeds)
     * [Routes](#routes)
        * [Authentication Routes](#authentication-routes)
        * [Profile Routes](#profile-routes)
        * [Admin User Management Routes](#admin-user-management-routes)
        * [Admin Theme Routes](#admin-theme-routes)
        * [Admin Tools Routes](#admin-tools-routes)
        * [Admin Soft Deleted Users Management Routes](#admin-soft-deleted-users-management-routes)
     * [Socialite](#socialite)
        * [Get Socialite Login API Keys:](#get-socialite-login-api-keys)
        * [Add More Socialite Logins](#add-more-socialite-logins)
              * [<strong>Steps</strong>:](#steps)
     * [Other API keys](#other-api-keys)
     * [Environment File](#environment-file)
        * [Laravel Developement Packages Used References](#laravel-developement-packages-used-references)
              * [Updates:](#updates)
     * [Screenshots](#screenshots)
     * [Laravel Auth License](#laravel-auth-license)
  * [About Laravel](#about-laravel)
  * [Learning Laravel](#learning-laravel)
  * [Contributing](#contributing)
  * [Security Vulnerabilities](#security-vulnerabilities)
  * [License](#license)

Translating plurals

Laravel has a built-in way to translate plural text. At the moment you have this in a template:

@php
  $levelAmount = trans('usersmanagement.labelUserLevel');
  if ($user->level() >= 2) {
      $levelAmount = trans('usersmanagement.labelUserLevels');
  }
@endphp
{{ trans('usersmanagement.labelAccessLevel')}} {{ $levelAmount }}:

Several problems (if we are being pedantic, which we should be):

  • The phrase is constructed from two parts put next to each other. That may not work in all languages as structure can change when phrases become plural.
  • There is PHP in the view. Yuch!

Instead you can use this for the full phrase:

{{ trans_choice('usersmanagement.labelAccessLevel', $user->level()) }}

Then the English string would look like this:

'labelAccessLevel'  => '[0,1]Access Level|[2,*]Access Levels',

The first [0,1] may not be needed. No additional PHP is needed.

In addition , __() is a shortcut for trans(), which can sometimes look neater (takes some words out of a busy view). In views it can be shorted to @lang() (according to the docs, though never tried it):

@lang('usersmanagement.labelStatus')

Admin profile return 404

I did a fresh install. login as Admin and select profile I get error 404. The user works fine.
I created a new admin user and can see his profile.
Is there a setting missing when the admin user is created.
Thanks.

Why you deleted the "web" Middleware Group?

I'm trying to include thedevdojo/chatter with this package and I'm getting error about the class web, After looking into the kernel.php I didn't find the $middlewareGroups , What should I do ?

Adding new provider

I followed your instructions to a T and I am generating a 500 error when I added steam as a new auth provider. Any idea?

Easy way to disable individual social network logins

The social network login icons are all displayed through views, and can be easily removed by editing those views.

However, just removing the account details from .env ought to remove the facility for logging in using those networks too. A github ID of "YOURIDHERE" is fine for demonstration out of the box, and takes the user to a 404 page with that ID, as you would expect. But if I set the Github ID to "", then it makes sense for Gibhub authentication to simply be disabled - no icons, no links, no Guthub registration.

Does that sound a sensible approach?

Getting Exception while sending emails from application

Hi , I am getting flowing error while sending emails (i.e) wherever the emails is triggered in application

Error : Swift_TransportException in AbstractSmtpTransport.php line 383: Expected response code 220 but got code "", with message "" in AbstractSmtpTransport.php line 383 at Swift_Transport_AbstractSmtpTransport->_assertResponseCode('', array('220')) in AbstractSmtpTransport.php line 289 at Swift_Transport_AbstractSmtpTransport->_readGreeting() in AbstractSmtpTransport.php line 117 at Swift_Transport_AbstractSmtpTransport->start() in Mailer.php line 79

ErrorException in SendActivationEmail.php line 50:

Hello,

Just tried a new installation and I got this error:

ErrorException in SendActivationEmail.php line 50:
Trying to get property of non-object
in SendActivationEmail.php line 50
at HandleExceptions->handleError(8, 'Trying to get property of non-object', '/var/www/servicebucket/app/Notifications/SendActivationEmail.php', 50, array('notifiable' => object(User), 'message' => object(MailMessage))) in SendActivationEmail.php line 50

Its related to namespacing ..

Shouldnt it work out of the box or I have to adjust something ?

What you think

Thanks
Sergiu

screen shot 2017-04-21 at 14 34 55

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.