webapppassword
webapppassword copied to clipboard
Allow setting a name for the session
It would be nice to allow setting a friendlier name than the url + the user agent. This could be accomplished by adding an optional query param (for example session-name) and modifying this line to use that instead. I suppose there is a slight security issue if a malicious site were to try and imitate another site though. To remedy that I would suggest just prefixing the custom session name with App Password: or something. I would be willing to make a PR if you would accept it.
Thank you for your concern. What is it you would like to achieve by this change? Improve how the generated token looks on the Nextcloud Admin page?
Exactly, the idea would be to go from this:
to this:
