mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
Order sessions by most-recent to least-recently updated (#25005)
This commit is contained in:
parent
c1e70a2072
commit
36a77748b4
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ class Auth::RegistrationsController < Devise::RegistrationsController
|
||||||
end
|
end
|
||||||
|
|
||||||
def set_sessions
|
def set_sessions
|
||||||
@sessions = current_user.session_activations
|
@sessions = current_user.session_activations.order(updated_at: :desc)
|
||||||
end
|
end
|
||||||
|
|
||||||
def set_strikes
|
def set_strikes
|
||||||
|
|
Loading…
Reference in a new issue