Chell PHP Portal now also with 2 factor auth!

Running into Duo 2 factor authentication service yesterday, I immediately wanted to implement it into one of my own projects; Chell PHP Portal.

I just checked in a commit where 2 factor seems to be working pretty smoothely within Chell. The biggest hurdle was figuring out how PhalconPHP would have to load this class. Since Phalcon’s pretty well documented, it was easy enough to expend the (auto)loader a bit for the Duo PHP class.

After that I just had to do some small refactor on the login methods. Easy enough to set things up, and since Duo is free for home/personal use, it’s a good fit as well. Below a small taste of the outcome 🙂

You can find Chell PHP Portal on GitHub.

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *