Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check if already logged in in register method #150

Merged
merged 1 commit into from
Mar 20, 2020

Conversation

titounnes
Copy link
Contributor

No description provided.

@MGatner
Copy link
Collaborator

MGatner commented Dec 24, 2019

I think this is a good change, though I would prefer to see it redirect back() to be consistent with the filters and other check() responses.

@lonnieezell
Copy link
Owner

Good catch! I like it.

A back() would definitely be an improvement here.

// check if already logged in.
if ($this->auth->check())
{
return redirect()->to('/');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

	return redirect()->back();

@lonnieezell
Copy link
Owner

Since we haven't heard from @titounnes in a few months on this I'll merge and make the change manually after that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants