Merge branch 'main' into dev

This commit is contained in:
Mo Tarbin
2025-04-24 01:13:46 -04:00
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
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')
}
const generateRandomState = () => {
const randomState = Math.random().toString(36).substring(7)
const randomState = Math.random().toString(32).substring(5)
localStorage.setItem('authState', randomState)
return randomState