mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	Fix: Authelia - Make user enter their domain manually (#2618)
* Make user enter domain manually * Update json to remind user * Update authelia.json --------- Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
This commit is contained in:
		@@ -26,15 +26,13 @@ wget -q "https://github.com/authelia/authelia/releases/download/${RELEASE}/authe
 | 
			
		||||
$STD dpkg -i "authelia_${RELEASE}_amd64.deb"
 | 
			
		||||
msg_ok "Install Authelia completed"
 | 
			
		||||
 | 
			
		||||
read -p "Enter your domain (ex. example.com): " DOMAIN
 | 
			
		||||
 | 
			
		||||
msg_info "Setting Authelia up"
 | 
			
		||||
touch /etc/authelia/emails.txt
 | 
			
		||||
JWT_SECRET=$(openssl rand  -hex 64)
 | 
			
		||||
SESSION_SECRET=$(openssl rand  -hex 64)
 | 
			
		||||
STORAGE_KEY=$(openssl rand  -hex 64)
 | 
			
		||||
DOMAIN=$(hostname -d)
 | 
			
		||||
if [ -z "$DOMAIN" ]; then
 | 
			
		||||
    DOMAIN=$(hostname)
 | 
			
		||||
fi
 | 
			
		||||
cat <<EOF >/etc/authelia/users.yml
 | 
			
		||||
users:
 | 
			
		||||
  authelia:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user