hbbs

bbs.hlirc.net
Log | Files | Refs | README | LICENSE

commit 4479bc5437a7c42da3db005d10b61c6d87f47733
parent 09472b2593ae4206026c6adb6386a546ee6e14a6
Author: hhvn <dev@hhvn.uk>
Date:   Thu, 10 Jun 2021 15:26:24 +0100

b/interface.sh: show status of verification

Diffstat:
Mbin/interface.sh | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/bin/interface.sh b/bin/interface.sh @@ -324,6 +324,11 @@ menu_users(){ i) [ ! -f $datadir/users/${arg:-$user} ] && error "no such user" && break clear + [ "$verify_email" = "yes" ] && { + [ "$(userget "${arg:-$user}" expiry)" = "" ] && \ + echo "Verified: yes" || \ + echo "Verified: no" + } echo "Created: $(userget "${arg:-$user}" creation)" echo "Email: $(userget "${arg:-$user}" email)" echo "Realname: $(userget "${arg:-$user}" realname)"