From 138613bac2bf677976eaed10049cade16234d636 Mon Sep 17 00:00:00 2001 From: Quentin W Date: Tue, 23 Jul 2024 09:58:18 -0400 Subject: [PATCH] silly mistake --- werc/bin/werclib.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/werc/bin/werclib.rc b/werc/bin/werclib.rc index 5a9aca8..ebc1eec 100755 --- a/werc/bin/werclib.rc +++ b/werc/bin/werclib.rc @@ -70,7 +70,7 @@ fn auth_user { status=('Auth: missing user name or pass: '^$"user_name^' / '^$"user_password) if not if(! test -f $pfile) status=('Auth: cant find '^$pfile) - if not if(! test -s $pfile || ! ~ $user_password `{cat $pfile} && ! ~ `{mkpasswd -S `{cat $pfile | cut -d'$' -f3} $user_password} `{cat $pfile}) + if not if(! test -s $pfile || ! ~ `{mkpasswd -S `{cat $pfile | cut -d'$' -f3} $user_password} `{cat $pfile}) status=('Auth: Pass '$user_password' doesnt match '^`{cat $pfile}) if not { logged_user=$user_name