another oversight, setUsername doesn't take 2 params anymore

This commit is contained in:
flash 2016-08-07 16:41:14 +02:00
parent 02e74addbb
commit 9493413d67

View file

@ -192,7 +192,7 @@ class AccountController extends Controller
return view('global/information', compact('redirect', 'message'));
}
CurrentSession::$user->setUsername($username, $username_clean);
CurrentSession::$user->setUsername($username);
$message = "Changed your username!";
return view('global/information', compact('redirect', 'message'));