Merge branch 'main' of https://github.com/Donetick/frontend
This commit is contained in:
commit
c553e2077a
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue