Commit graph

24 commits

Author SHA1 Message Date
Shishkevich D.
31f9be62b5 chore: implement 2fa auth (#2968)
* chore: implement 2fa auth

from #2786

* chore: format code

* chore: replace two factor token input with qr-code

* chore: requesting confirmation of setting/removing two-factor authentication

otpauth library was taken from cdnjs

* chore: revert changes in `ClipboardManager`

don't need it.

* chore: removing twoFactor prop in settings page

* chore: remove `twoFactorQr` object in `mounted` function
2025-05-08 16:20:58 +02:00
MHSanaei
f35d531acc fix session
twice  set-cookie bug fixed
2024-12-16 14:24:59 +01:00
lexnake3
ae72dbd7b5 show IP on warning log when user pass is not correct (#2607) 2024-12-03 22:41:14 +01:00
mhsanaei
ac33b38c38 Session - default 60 minute (minimum) 2024-09-12 09:41:24 +02:00
mhsanaei
b7308b991e fix session 2024-08-06 13:44:48 +02:00
mhsanaei
f63cc50bbb safe login
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-07-14 23:37:43 +02:00
mhsanaei
4ed0f6bfc8 improved - message logs 2024-07-08 23:47:49 +02:00
mhsanaei
cb975d19e0 change session name 2024-07-05 14:33:04 +02:00
mhsanaei
ccb33cdb30 some changes 2024-07-04 15:04:04 +02:00
mhsanaei
99b4bd5562 tgbot - login notify (show password for failed login) 2024-07-03 21:53:45 +02:00
Hamidreza
d503bff637 Some fixes and improvements (#1997)
* [refactor] api controller

* [fix] access log path

better to not hardcode the access log path, maybe some ppl dont want to use the default ./access.log

* [fix] set select options from logs paths in xray settings

* [update] .gitignore

* [lint] all .go files

* [update] use status code for jsonMsg and 401 to unauthorize

* [update] handle response status code via axios

* [fix] set correct value if log paths is set to 'none'

we also use the default value for the paths if its set to none

* [fix] iplimit - only warning access log if f2b is installed
2024-03-11 01:01:24 +03:30
Ho3ein
eb92c3d14c new - loglevel (#612) 2023-06-16 18:25:33 +03:30
Hamidreza Ghavami
f748918a00 rename I18n to I18nWeb 2023-05-21 03:29:27 +04:30
Hamidreza Ghavami
d4c04188b8 update to use WebI18n func 2023-05-20 19:51:45 +04:30
Hamidreza Ghavami
c95037f78f some fix and prune for tgbot 2023-05-20 19:39:01 +04:30
MHSanaei
a8fb412bc8 Set session max-age to default if defined zero
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-05-13 13:26:04 +03:30
Hamidreza Ghavami
3e30d4e39b Change route path '/xui' to '/panel' 2023-05-12 22:45:32 +04:30
Hamidreza Ghavami
431d608faa add searchDatafiles route 2023-05-12 22:45:25 +04:30
MHSanaei
f5f95b26e3 bug fix 2023-04-26 02:09:56 +03:30
MHSanaei
17cd239047 [feature] add login session timeout
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2023-04-25 15:00:21 +03:30
MHSanaei
b45f7f1a30 secret token thanks to @HarlyquinForest 2023-04-21 19:00:14 +03:30
MHSanaei
2d477ae45b alireza 2023-03-17 19:37:49 +03:30
MHSanaei
b86a09f436 update pack 2 2023-02-18 16:07:32 +03:30
MHSanaei
b73e4173a3 3x-ui 2023-02-09 22:48:06 +03:30