disable normal model auth backend
use make_admin and revoke_admin management commands instead
This commit is contained in:
		
							parent
							
								
									055e10b97e
								
							
						
					
					
						commit
						1e41d2cfee
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
					@ -82,7 +82,6 @@ INSTALLED_APPS = [
 | 
				
			||||||
 | 
					
 | 
				
			||||||
AUTHENTICATION_BACKENDS = [
 | 
					AUTHENTICATION_BACKENDS = [
 | 
				
			||||||
    'social_auth.backends.contrib.github.GithubBackend',
 | 
					    'social_auth.backends.contrib.github.GithubBackend',
 | 
				
			||||||
    'django.contrib.auth.backends.ModelBackend',
 | 
					 | 
				
			||||||
]
 | 
					]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
LOGIN_URL          = '/login/'
 | 
					LOGIN_URL          = '/login/'
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue