Fix for #1998 (Error 500 with configured oauth on user setup page accessed by admins)
This commit is contained in:
		
							parent
							
								
									1b7e422772
								
							
						
					
					
						commit
						6de3aebf3a
					
				| 
						 | 
					@ -47,7 +47,7 @@
 | 
				
			||||||
            {% endfor %}
 | 
					            {% endfor %}
 | 
				
			||||||
        </select>
 | 
					        </select>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    {% if registered_oauth.keys()| length > 0 and not new_user %}
 | 
					    {% if registered_oauth.keys()| length > 0 and not new_user and profile %}
 | 
				
			||||||
      {% for id, name in registered_oauth.items() %}
 | 
					      {% for id, name in registered_oauth.items() %}
 | 
				
			||||||
    <div class="form-group">
 | 
					    <div class="form-group">
 | 
				
			||||||
      <label>{{ name }} {{_('OAuth Settings')}}</label>
 | 
					      <label>{{ name }} {{_('OAuth Settings')}}</label>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user