]> git.plutz.net Git - cgilite/commitdiff
export user variables
authorPaul Hänsch <paul@plutz.net>
Wed, 18 May 2022 17:18:24 +0000 (19:18 +0200)
committerPaul Hänsch <paul@plutz.net>
Wed, 18 May 2022 17:18:24 +0000 (19:18 +0200)
users.sh

index 2833c9ac64bfc1ff2006f5c0dee86a51d39e4528..254d61c91953e87e882e7c4efe957ef50d41b576 100755 (executable)
--- a/users.sh
+++ b/users.sh
@@ -444,6 +444,10 @@ read_user "$(SESSION_VAR user_id)"
     :;;
 esac
 
+export USER_ID USER_NAME USER_STATUS USER_EMAIL USER_PWSALT USER_PWHASH \
+       USER_EXPIRE USER_DEVICES USER_FUTUREUSE
+
+
 w_user_update(){
   if [ ! "$USER_ID" ]; then
     cat <<-EOF