mirror of
				https://git.cloudron.io/cloudron/gitea-app
				synced 2025-11-04 00:52:35 +00:00 
			
		
		
		
	Change default root user email
This commit is contained in:
		
							
								
								
									
										2
									
								
								start.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								start.sh
									
									
									
									
									
								
							@@ -28,7 +28,7 @@ setup_ldap_source() {
 | 
			
		||||
setup_root_user() {
 | 
			
		||||
    set -eu
 | 
			
		||||
 | 
			
		||||
    if sudo -H -u git /home/git/gitea/gitea admin user create --username root --password changeme --email test@cloudron.io --admin -c /run/gitea/app.ini; then
 | 
			
		||||
    if sudo -H -u git /home/git/gitea/gitea admin user create --username root --password changeme --email admin@cloudron.local --admin -c /run/gitea/app.ini; then
 | 
			
		||||
        echo "==> root user added"
 | 
			
		||||
    else
 | 
			
		||||
        echo "==> Failed to add root user"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user