Can I remove login from luci?

I set up a client certificate setting for luci on nginx. so login with password after that is redundant. Is there a way to disable login and go straight to main page?
Edit: I wanted to skip login so luci page go straight to config menu, not turn login off to make luci unusable

First set up SSH public key authentication to not lock yourself.
Then you can set an empty password:

passwd -d root

And/or disable/lock the password:

passwd -l root

I wanted to skip login so luci page go straight to config menu, not turn login off to make luci unusable

Maybe this could give you an idea.
https://openwrt.org/docs/guide-user/luci/statistics.chart.public

Not advised.... but for reference.... to do properly you need restricted rpc/ubus acct+tokens and glue for those + hooks to validate nginx https client auth status.

Maybe friedfunks have something?

#/usr/lib/lua/luci/dispatcher.lua
#-> 421 after retrieve session sid
#sid, sdat = session_retrieve(sid, allowed_users)

		if not (sid and sdat) then
			local user = "root"
			local pass = "password"

			sid, sdat = session_setup(user, pass, allowed_users)
			
			http.header("Set-Cookie", 'sysauth=%s; path=%s; HttpOnly%s' %{
				sid, build_url(), http.getenv("HTTPS") == "on" and "; secure" or ""
			})
			http.redirect(build_url(unpack(ctx.requestpath)))
		end