Added urlencode to site name

This commit is contained in:
snipe 2016-10-31 22:34:57 -07:00 committed by GitHub
parent af97d8ed24
commit 4747a4c03f

View file

@ -182,7 +182,7 @@ class AuthController extends Controller
$google2fa_url = $google2fa->getQRCodeGoogleUrl(
Setting::getSettings()->site_name,
urlencode(Setting::getSettings()->site_name),
$user->username,
$user->two_factor_secret
);