mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Urlencode username in case it has spaces
This commit is contained in:
parent
1543c03624
commit
b854689d3d
|
@ -183,7 +183,7 @@ class AuthController extends Controller
|
|||
|
||||
$google2fa_url = $google2fa->getQRCodeGoogleUrl(
|
||||
urlencode(Setting::getSettings()->site_name),
|
||||
$user->username,
|
||||
urlencode($user->username),
|
||||
$user->two_factor_secret
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue