Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
177 views

Login using two-factor authentication

I want to make the code below prettier but I don't know what to change and how to change. I know that the controller should be easy, delegating actions related to models or to services or something ...
skoryi-romb's user avatar
2 votes
0 answers
59 views

Laravel testing for compatibility between old and new password-hashing schemes

I currently have an event listener tied to Laravel's Attempting class. The listener is designed to rehash an old password to something newer. The current DB stores ...
ThePoet444's user avatar
3 votes
1 answer
50 views

Login Controller follow-up

Can this class can be refactored to be more efficient? I've taken tips from other people who have already helped me refactor it a fair amount, but I was wondering if there was any last minute touch-...
Danny Evans's user avatar
4 votes
1 answer
1k views

Laravel LoginController

I have a LoginController in Laravel, but I think it could use some improving, can anyone tell me where I am going wrong? It just seems overall a bit messy, but I can't think of a logical way to ...
Tom Johnson's user avatar
2 votes
0 answers
351 views

Steam Auth for Laravel

I'm not expert on OpenID, so i don't know if my package is correct and safe. I've realized that after login on Steam community, take about 2/3 seconds to return to my page. It's my issue or is from ...
user avatar
4 votes
2 answers
655 views

Laravel 5.4: Authentication System

I have recently coded my own authentication system and wondered if there was any way I could make it better? I coded it with Laravel 5.4. getView is called on ...
Josh Hallow's user avatar
  • 1,355
4 votes
1 answer
1k views

Laravel - Revised Authentication Controller

I'm developing a Social Engineering Awareness Training Application. This is the focus of my thesis for my undergraduate degree. This will be a multi-part review request, however, if you want to see ...
Trojan404's user avatar
  • 838
5 votes
1 answer
729 views

Laravel - Authentication Controller

I'm developing a Social Engineering Awareness Training Application. This is the focus of my thesis for my undergraduate degree. This will be a multi-part review request, however, if you want to see ...
Trojan404's user avatar
  • 838
0 votes
1 answer
159 views

Basic sign-up method, testable and with try/catch [closed]

I am learning how to implement testing and try/catch statements into my code. I have a Laravel application with the following ...
Jon's user avatar
  • 109
3 votes
1 answer
163 views

Clean up / refactor this store() method

I'm new to Laravel and trying to figure out how I can reduce/refactor this store() call in my SessionController. Basically, the ...
tdc's user avatar
  • 141
2 votes
0 answers
647 views

Social user login

This is my first Laravel package. It uses hybrid Auth package to authenticate users using their social network accounts. It can retrieve information to store in a local database. Its purpose is to ...
Carlos Arturo Alaniz's user avatar