mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	add user new js
This commit is contained in:
		@@ -79,7 +79,6 @@
 | 
				
			|||||||
    $(function(){
 | 
					    $(function(){
 | 
				
			||||||
        $('#login-type').on("change",function(){
 | 
					        $('#login-type').on("change",function(){
 | 
				
			||||||
            var v = $(this).val();
 | 
					            var v = $(this).val();
 | 
				
			||||||
            alert(v.indexOf("0-")+1);
 | 
					 | 
				
			||||||
            if(v.indexOf("0-")+1){
 | 
					            if(v.indexOf("0-")+1){
 | 
				
			||||||
                $('.auth-name').toggleHide();
 | 
					                $('.auth-name').toggleHide();
 | 
				
			||||||
                $(".pwd").find("input").attr("required","required")
 | 
					                $(".pwd").find("input").attr("required","required")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user