mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
Co-authored-by: Christian Marangi <ansuelsmth@gmail.com> Signed-off-by: Han Yiming <moebest@outlook.jp> luci-app-2fa: add priority option and QR code display This update adds a priority option and enables QR code display for 2FA. luci-app-2fa: native ubus IPvalid fsLOCK and log use native ubus IP validation instead of custom regex and parsing, use native fs lock instead of popen-call and add log for logging auth events. now, will clean stale rate limit entries on each check and log when entries are removed due to staleness. This prevents the rate limit file from growing indefinitely with old entries. luci-app-2fa: move dir and sync sysfixtime move to the new location. update the default time calibration threshold to sync sysfixtime. luci-app-2fa: native hex and more readable use native hex and base32 decoding functions Signed-off-by: Han Yiming <moebest@outlook.jp>
24 lines
660 B
Makefile
24 lines
660 B
Makefile
#
|
|
# Copyright (C) 2026 tokisaki galaxy <moebest@outlook.jp>
|
|
# Copyright (C) 2024 Christian Marangi <ansuelsmth@gmail.com>
|
|
#
|
|
# This is free software, licensed under the Apache License, Version 2.0.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=luci-plugin-2fa
|
|
|
|
PKG_LICENSE:=Apache-2.0
|
|
PKG_MAINTAINER:=tokisaki galaxy <moebest@outlook.jp>
|
|
PKG_DESCRIPTION:=LuCI 2-Factor Authentication Plugin
|
|
|
|
LUCI_TITLE:=LuCI 2-Factor Authentication
|
|
LUCI_DEPENDS:=+luci-base +luci-lib-uqr +ucode-mod-struct +ucode-mod-digest +ucode-mod-log
|
|
LUCI_PKGARCH:=all
|
|
LUCI_URL:=https://github.com/tokisaki-galaxy/luci-plugin-2fa
|
|
|
|
include ../../luci.mk
|
|
|
|
# call BuildPackage - OpenWrt buildroot
|