Skip to content

Instantly share code, notes, and snippets.

Cranking Out The Code

Andrew Watson andrewwatson

Cranking Out The Code
View GitHub Profile
View User.php
// models/User.php
* Check if the user used the domain prefix
* to login. If they did pass param through
* unchanged. If they didn't, prepend it and
* return it.
* @param string $username
* @return string
You can’t perform that action at this time.