Commit Graph
6 Commits
Author SHA1 Message Date
Scruel Tao 29b2960805 Optimze comment & remove tail space 2023-09-07 15:01:37 +08:00
Scruel Tao f7f3a0bf0d Merge branch 'dev' into syno-patch 2023-09-07 14:57:53 +08:00
Scruel Tao ba468bb5e4 Fix for shfmt check 2023-07-20 13:38:36 +08:00
Scruel Tao cf86d57a9f Fix for shfmt check 2023-07-20 13:34:57 +08:00
Scruel Tao 9e958f4e32 Fix shellcheck 2023-07-20 13:09:21 +08:00
Scruel Tao c7f6f20c9d Add SYNO_USE_TEMP_ADMIN variable & Fix broken logic
1. Fix the broken logic in (Sorry for including fix commit in same PR, I'm feeling quite tired and would like to go to sleep right away...)
2. Provides new method to obtain credential info for authentication, it will create a temp admin user if SYNO_USE_TEMP_ADMIN is set, instead of requiring the user's own credentials which will be saved in disk.

I do really don't like to have plaintext credentials be saved in disk, and I noticed that you've spent a lot of time fighting with 2FA related stuffs, so why not just get rid of the whole old way. :)
2023-07-20 02:48:29 +08:00