summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-compat/htdocs/luci-static/resources/cbi/link.gif
diff options
context:
space:
mode:
authorFabian Bläse <fabian@blaese.de>2020-12-04 20:34:37 +0100
committerFabian Bläse <fabian@blaese.de>2020-12-04 21:51:13 +0100
commite54708a451c4095da82d7bfb025069603014a2ca (patch)
treeff23002b5d1e508b0af12c9bdc7d4c6bd7fb4394 /modules/luci-compat/htdocs/luci-static/resources/cbi/link.gif
parent086f32347a625209ca40f0b22895496d64741eb7 (diff)
luci-base: hide "No password set!" notification if password login is disabled
The special characters '!' and '*' in /etc/shadow are used to disable password login for a specific account. The character 'x' has no special meaning, but should not be interpreted as an empty password. However, Luci treats the special characters '!' and 'x' like no password is set and displays the "No password set!" notification. As this might be misleading, the extra check for these special characters is removed, so the invalid hash is returned in that case. This aligns the behavior of this notification with a change in rpcd, which also removed these extra checks, so no login is possible, if password login is disabled [1]. [1] https://git.openwrt.org/?p=project/rpcd.git;a=commit;h=3df62bcebd2caff47506ccffb42df8d2d2123c06 Signed-off-by: Fabian Bläse <fabian@blaese.de>
Diffstat (limited to 'modules/luci-compat/htdocs/luci-static/resources/cbi/link.gif')
0 files changed, 0 insertions, 0 deletions