mirror of
				https://gitlab.com/animath/si/plateforme-corres2math.git
				synced 2025-11-04 07:42:14 +01:00 
			
		
		
		
	Use a custom Matrix username
This commit is contained in:
		@@ -131,6 +131,8 @@ PASSWORD_HASHERS = [
 | 
			
		||||
    'django.contrib.auth.hashers.BCryptPasswordHasher',
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
CAS_AUTH_CLASS = 'registration.auth.CustomAuthUser'
 | 
			
		||||
 | 
			
		||||
REST_FRAMEWORK = {
 | 
			
		||||
    'DEFAULT_PERMISSION_CLASSES': [
 | 
			
		||||
        'rest_framework.permissions.IsAdminUser'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user