mirror of
				https://github.com/netbox-community/netbox.git
				synced 2024-05-10 07:54:54 +00:00 
			
		
		
		
	Fixes #8306: Redirect user to previous page after login
This commit is contained in:
		@@ -14,6 +14,7 @@
 | 
			
		||||
* [#8285](https://github.com/netbox-community/netbox/issues/8285) - Fix `cluster_count` under tenant REST API serializer
 | 
			
		||||
* [#8287](https://github.com/netbox-community/netbox/issues/8287) - Correct label in export template form
 | 
			
		||||
* [#8301](https://github.com/netbox-community/netbox/issues/8301) - Fix delete button for various object children views
 | 
			
		||||
* [#8306](https://github.com/netbox-community/netbox/issues/8306) - Redirect user to previous page after login
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -38,7 +38,7 @@
 | 
			
		||||
  </div>
 | 
			
		||||
{% else %}
 | 
			
		||||
  <div class="btn-group">
 | 
			
		||||
    <a class="btn btn-primary ws-nowrap" type="button" href="{% url 'login' %}">
 | 
			
		||||
    <a class="btn btn-primary ws-nowrap" type="button" href="{% url 'login' %}?next={{ request.path }}">
 | 
			
		||||
      <i class="mdi mdi-login-variant"></i> Log In
 | 
			
		||||
    </a>
 | 
			
		||||
    <button type="button" class="btn btn-primary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user