Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove nanoid #1181

Merged
merged 4 commits into from
Mar 12, 2024
Merged

remove nanoid #1181

merged 4 commits into from
Mar 12, 2024

Conversation

dbauszus-glx
Copy link
Member

NanoID was only used on the host to generate a unique[ish] id for the session and and process ID.

The random hex sequence generated by the builtin node crypto module can be used to the same effect.

One dependency less to worry about.

@dbauszus-glx dbauszus-glx added the Code Issues related to the code structure and performance. label Mar 8, 2024
@cityremade
Copy link
Member

I can still find traces of it in mod/user/auth.js

@dbauszus-glx
Copy link
Member Author

@cityremade I replaced NANO_SESSION in mod/auth with USER_SESSION

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

@RobAndrewHurst RobAndrewHurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docs are in and approved!

@dbauszus-glx dbauszus-glx merged commit 26b54a1 into GEOLYTIX:main Mar 12, 2024
5 checks passed
@dbauszus-glx dbauszus-glx deleted the nano-adieu branch June 14, 2024 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Issues related to the code structure and performance.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants