fix: stop using old config for logo image url on login page
This commit is contained in:
		
							parent
							
								
									4221fa50dd
								
							
						
					
					
						commit
						7348eec671
					
				
					 1 changed files with 0 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -94,10 +94,6 @@ class AuthenticationView(View):
 | 
			
		|||
            else:
 | 
			
		||||
                self.request.session.flash("Invalid username or password", 'error')
 | 
			
		||||
 | 
			
		||||
        image_url = self.rattail_config.get(
 | 
			
		||||
            'tailbone', 'main_image_url',
 | 
			
		||||
            default=self.request.static_url('tailbone:static/img/home_logo.png'))
 | 
			
		||||
 | 
			
		||||
        # nb. hacky..but necessary, to add the refs, for autofocus
 | 
			
		||||
        # (also add key handler, so ENTER acts like TAB)
 | 
			
		||||
        dform = form.make_deform_form()
 | 
			
		||||
| 
						 | 
				
			
			@ -110,7 +106,6 @@ class AuthenticationView(View):
 | 
			
		|||
        return {
 | 
			
		||||
            'form': form,
 | 
			
		||||
            'referrer': referrer,
 | 
			
		||||
            'image_url': image_url,
 | 
			
		||||
            'index_title': app.get_node_title(),
 | 
			
		||||
            'help_url': global_help_url(self.rattail_config),
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue