Don't make SSHKeyCreateView with LoginRequiredMixin
This commit is contained in:
		
					parent
					
						
							
								561178e473
							
						
					
				
			
			
				commit
				
					
						8efe978b23
					
				
			
		
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -3,7 +3,6 @@ import uuid | |||
| from django.conf import settings | ||||
| from django.contrib import messages | ||||
| from django.contrib.auth import authenticate, login | ||||
| from django.contrib.auth.mixins import LoginRequiredMixin | ||||
| from django.contrib.auth.tokens import default_token_generator | ||||
| from django.core.files.base import ContentFile | ||||
| from django.core.urlresolvers import reverse_lazy | ||||
|  | @ -186,7 +185,7 @@ class PasswordResetConfirmViewMixin(FormView): | |||
|             return self.form_invalid(form) | ||||
| 
 | ||||
| 
 | ||||
| class SSHKeyCreateView(LoginRequiredMixin, FormView): | ||||
| class SSHKeyCreateView(FormView): | ||||
|     form_class = UserHostingKeyForm | ||||
|     model = UserHostingKey | ||||
|     template_name = 'hosting/user_key.html' | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue