sufuninja

Experience

5,920

0 Best Reply Awards

  • Member Since 2 Years Ago
  • 57 Lessons Completed
  • 1 Favorite

12th June, 2017

sufuninja left a reply on How Can I Change Md5 Passwords To Bcrypt In Laravel 5.4? • 1 year ago

Also, it didn't even occur to me that there might be overloading in PHP like there is in C#.

sufuninja left a reply on How Can I Change Md5 Passwords To Bcrypt In Laravel 5.4? • 1 year ago

Thank all of you for your help and patience.

This is much more straight forward and simple than trying to make a custom provider, edit autoload, edit composer.json and on and on.

9th June, 2017

sufuninja left a reply on How Can I Change Md5 Passwords To Bcrypt In Laravel 5.4? • 1 year ago

Thank all of you for the help. I have tried a few different approaches but every one seems to be missing just one step that I'm missing. I'll be back on it tomorrow.

@jlrdw , I read that thread but failed to find App\Auth\AuthController. I wouldn't have reached out if my searches lead me to success.

Thanks again.

sufuninja left a reply on How Can I Change Md5 Passwords To Bcrypt In Laravel 5.4? • 1 year ago

Where would something like that go? I using laravel's pre-built authentication controllers.

sufuninja left a reply on How Can I Change Md5 Passwords To Bcrypt In Laravel 5.4? • 1 year ago

Sorry, let me clarify.

I have a database with Md5 hashed passwords.

When a user logs in, I would like to auth first with Md5 (if old password) and upon success, rehash using bcrypt and save the new password.

sufuninja started a new conversation How Can I Change Md5 Passwords To Bcrypt In Laravel 5.4? • 1 year ago

I have tried several solutions online but nothing has worked.

I am pretty lost.

sufuninja started a new conversation Upgrading DB From Md5 With Laravel 5.4 • 1 year ago

Upgrading DB passwords from Md5 with Laravel 5.4

I have tried to implement this solution: https://stackoverflow.com/questions/42704782/changing-laravel-5-4-password-encryption-and-table-column-names

...but run into this error

Declaration of App\Providers\HandleMd5::validateCredentials(App\Providers\UserContract $user, array $credentials) must be compatible with Illuminate\Contracts\Auth\UserProvider::validateCredentials(Illuminate\Contracts\Auth\Authenticatable $user, array $credentials)

Any ideas why I am getting this error or how I can go about this task a different way?

24th March, 2017

sufuninja left a reply on Homestead Port Issues Windows 10 • 1 year ago

There must be a bug in the new version of vagrant 1.9.3

http://stackoverflow.com/questions/42955178/vagrant-up-errnoeaddrnotavail#

Installed vagrant 1.9.2 and now things are golden again!

sufuninja started a new conversation Homestead Port Issues Windows 10 • 1 year ago

Having issues with the HomesteadBox's port forwarding on my Win10 installation

```C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/util/is_port_open.rb:21:in `initialize': The requestedontext. - connect(2) for "0.0.0.0" port 44300 (Errno::EADDRNOTAVAIL)


so I set the `scripts/homestead.rb` line #90 to `config.vm.network "forwarded_port", guest: 22, host: 1022, host_ip: "127.0.0.1", id: 'ssh'` as per a thread and it worked but... I can't connect to mysql from my desktop using Heidi. 

I can ssh into vagrant but that's it. 

Any suggestions?


18th December, 2016

sufuninja left a reply on Sqlite Pdoexception Connection Refused • 1 year ago

Thanks @jacobfogg, that works for me!

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.