Get a longer timeout in the panel

Ok. from here, I can add a custom fingerprint in config.php, like so:

s::$fingerprint = function() {
  return 'custom fingerprint';
};

Does it make sens to use the user_name value in this custom fingerprint?

s::$fingerprint = function() {
  return $user_name . '-fingerprint';
};

If so, how can I get the username inside config?

Thank you