diff --git a/README.md b/README.md index e24c032..b235431 100644 --- a/README.md +++ b/README.md @@ -49,4 +49,4 @@ While maintaining Donetick's commitment to open source, this hosted option will ## License -This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details. I might consider changing it later to something else +This project is licensed under the AGPLv3 License. See the [LICENSE](LICENSE) file for more details. I might consider changing it later to something else diff --git a/src/views/Authorization/LoginView.jsx b/src/views/Authorization/LoginView.jsx index 476f468..bd93055 100644 --- a/src/views/Authorization/LoginView.jsx +++ b/src/views/Authorization/LoginView.jsx @@ -115,7 +115,7 @@ const LoginView = () => { Navigate('/forgot-password') } const generateRandomState = () => { - const randomState = Math.random().toString(36).substring(7) + const randomState = Math.random().toString(32).substring(5) localStorage.setItem('authState', randomState) return randomState