dullage / flatnotes

A self-hosted, database-less note taking web app that utilises a flat folder of markdown files for storage.
MIT License
1.39k stars 82 forks source link

KEY clarification #204

Closed MarcS1975 closed 2 months ago

MarcS1975 commented 3 months ago

Thank you for this excellent project. I love the minimalist approach ! One question. I am loging in via username and pwd. Do I need to define a SECRETKEY if I dont use the TOTP_KEY functionality? As I understand the SECRETKEY is only used if the QR-code is not working. Or did I misunderstand?

dullage commented 3 months ago

Hey @MarcS1975. I'm glad you like it 👍

The FLATNOTES_TOTP_KEY is used for TOTP. FLATNOTES_SECRET_KEY is used to generate access tokens, which is used by the password auth. Have a look at the wiki article for more info.