This commit is contained in:
Mo Tarbin 2025-03-05 22:06:09 -05:00
commit c553e2077a
2 changed files with 2 additions and 2 deletions

View file

@ -49,4 +49,4 @@ While maintaining Donetick's commitment to open source, this hosted option will
## License ## 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

View file

@ -115,7 +115,7 @@ const LoginView = () => {
Navigate('/forgot-password') Navigate('/forgot-password')
} }
const generateRandomState = () => { const generateRandomState = () => {
const randomState = Math.random().toString(36).substring(7) const randomState = Math.random().toString(32).substring(5)
localStorage.setItem('authState', randomState) localStorage.setItem('authState', randomState)
return randomState return randomState