You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current method for handling authentication is to base32 encode the username and password and add it as a cookie. Each time the user does any action that requires authentication, the server needs to verify the password with bcrypt. This is a slow process, leading to an unresponsive interface.
The server should instead use a randomly generated token that can be stored in the database for faster verification. This token can be generated using the getrandom crate.
The text was updated successfully, but these errors were encountered:
Current method for handling authentication is to base32 encode the username and password and add it as a cookie. Each time the user does any action that requires authentication, the server needs to verify the password with bcrypt. This is a slow process, leading to an unresponsive interface.
The server should instead use a randomly generated token that can be stored in the database for faster verification. This token can be generated using the
getrandom
crate.The text was updated successfully, but these errors were encountered: